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

Import error when trying to run cook-datasets #3

Open
directorscut82 opened this issue Jun 2, 2019 · 2 comments
Open

Import error when trying to run cook-datasets #3

directorscut82 opened this issue Jun 2, 2019 · 2 comments

Comments

@directorscut82
Copy link

directorscut82 commented Jun 2, 2019

Hello,
i am trying to follow your instructions after installing the package but i get a
ImportError: No module named quffka.cook_datasets

Pip seems to install everything correctly (https://pastebin.com/e0ANJQXg) and also my path contains the quffka folder (added a print(sys.path) inside cook_datasets):

~/Apps/quffka$ cook-datasets
['~/anaconda2/bin', '~/Apps/quffka', '~/anaconda2/lib/python27.zip', '~/anaconda2/lib/python2.7', '~/.local/lib/python2.7/site-packages', '~/anaconda2/lib/python2.7/site-packages', '~/anaconda2/lib/python2.7/site-packages'] Traceback (most recent call last): File "~/anaconda2/bin/cook-datasets", line 8, in <module> import quffka ImportError: No module named quffka

Any suggestions?

@directorscut82
Copy link
Author

directorscut82 commented Jun 2, 2019

--update
I think the issue is the version of python; for me, it worked only after switching to a python 3.x environment. Maybe add it as a requirement or create an empty __init__.py in quffka/quffka directory for compatibility

@directorscut82
Copy link
Author

directorscut82 commented Jun 3, 2019

i also just found this link: quffka, which includes the init file by default

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

1 participant