Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to import docformer #17

Closed
rlrahulkanojia opened this issue Nov 25, 2021 · 2 comments
Closed

Not able to import docformer #17

rlrahulkanojia opened this issue Nov 25, 2021 · 2 comments

Comments

@rlrahulkanojia
Copy link

After following steps, not able to import to docformer but able to import transformer.

@uakarsh
Copy link
Collaborator

uakarsh commented Nov 26, 2021

Can you share the link to your code, if you don't mind? Maybe, you just need to clone it, by using git clone and then import sys to append the path, and the rest all is assured. The code looks something like this:

!git clone https://github.com/shabie/docformer.git import sys sys.path.extend(['docformer/']) sys.path.extend(['docformer/src/docformer/'])

I hope, this helps :)

@rlrahulkanojia
Copy link
Author

It did. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants