Wiki‎ > ‎

Remove python apps installed through “python install”

posted Sep 6, 2016, 11:21 PM by Danny Xu   [ updated Sep 6, 2016, 11:59 PM ]

"You need to remove all files manually, and also undo any other stuff that installation did manually.

If you don't know the list of all files, you can reinstall it with the --record option, and take a look at the list this produces."


python install --record files.txt to generate the list

cat files.txt | xargs rm -rf to remove the files recorded by the previous step.

Or use pip

Install from tarball on web

pip install

Install from local tarball

pip install requests-2.3.0.tar.gz

Install from local folder

tar -zxvf requests-2.3.0.tar.gz
cd requests-2.3.0
pip install .

You can delete the requests-2.3.0 folder.

Install from local folder (editable mode)

pip install -e .

This installs the package in editable mode. Any changes you make to the code will immediately apply across the system. This is useful if you are the package developer and want to test changes. It also means you won't be delete the folder without breaking the install.