Created
May 3, 2020 10:13
-
-
Save qnxdev/eef3fd5e6b40fdf140dcf724cbe8f507 to your computer and use it in GitHub Desktop.
python setup.py uninstall - Uninstall Apps installed using setup.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: Avoid using python setup.py install use pip install . | |
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. | |
To record a list of installed files, you can use: | |
python setup.py install --record files.txt | |
Once you want to uninstall you can use xargs to do the removal: | |
xargs rm -rf < files.txt | |
Or if you're running Windows, use Powershell: | |
Get-Content files.txt | ForEach-Object {Remove-Item $_ -Recurse -Force} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment