ModuleNotFoundError: No module named 'pygorithm.sorting'; 'pygorithm' is not a package
Jackson-Jack opened this issue · 2 comments
Jackson-Jack commented
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 commented
Try in your shell:
export PYTHONPATH="$PYTHONPATH:/path/to/pygorithm"
Jackson-Jack commented
Thank you very much. I find it normal work without use virtualenv.