I've made two packages (pphp
and xmlx
) and distributed and uploaded them the standard way, using python setup.py sdist bdist_wheel
and twine upload dist/*
.
I then tried installing them using pip install
, and it seemed to work fine... but then, in the interactive shell:
>>> import xmlx
Traceback (most recent call last):
File <module>, line 1:
import xmlx
ImportError: No module named xmlx
I then tried python setup.py install
but same result (seemed fine but didn't work).
So what's going on?