python install wheel leads to import error
问题 I'd like to make a wheel binary distribution, intstall it and then import it in python. My steps are I first create the wheel: python ./my_package/setup.py bdist_wheel I install the wheel: pip install ./dist/*.whl I try to import the package: python -c"import my_package" This leads to the error: ImportError: No module named 'my_package' Also, when I do pip list , the my_package is listed. However, when I run which my_packge , nothing is shown. When I run pip install ./my_package/ everything