As doing exercise 46 on learnpythonthehardway, I run into an issue with uninstallation.
Background
My package showed is created as:
├── bin
├── docs
├── HELLOWORLD
│ ├── helloworld.py
│ ├── __init__.py
├── setup.py
└── tests
├── HELLOWORLD_tests.py
├── __init__.py
THe way I installed the packages:
- run
python setup.py sdist
to create atar.gz
and enegg-info
file - use
pip install
, pointing at thetar.gz
above to install.
Thus, it was installed successfully, as:
- The package shows in
/urs/local/lib/python2.7/dist-packages
- The package is usable (able to import and run successfully)
The Problem
However, the problem is that I was unable to uninstall it using pip uninstall HELLOWORLD
, as it shows this message
Can't uninstall 'helloworld'. No files were found to uninstall.
What step do I miss?