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

ModuleNotFoundError: No module named 'pygorithm.sorting'; 'pygorithm' is not a package #23

Closed
Jackson-Jack opened this issue Aug 14, 2017 · 2 comments

Comments

@Jackson-Jack
Copy link

After execute 'pip3 install pygorithm' successful, I use the first example code named 'To sort your list' ,but the run result is "ModuleNotFoundError: No module named 'pygorithm.sorting'; 'pygorithm' is not a package". (ps: macOS Sierra, virtualenv,python3)

@amicks
Copy link
Contributor

amicks commented Aug 14, 2017

Try in your shell:
export PYTHONPATH="$PYTHONPATH:/path/to/pygorithm"

@Jackson-Jack
Copy link
Author

Thank you very much. I find it normal work without use virtualenv.

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