Python setup.py uninstall

510    Asked by CameronOliver in Python , Asked on Apr 13, 2021

I have installed a python package with python setup.py install but want to uninstall it.

How do I uninstall python setup py uninstall?

Answered by Cameron Oliver

Instead of using setup.py you should use pip install.

You need to remove all the files manually and then undo any changes done during the installation manually.

To record a list of installed files, you can use:

python setup.py install --record files.txt



Your Answer

Interviews

Parent Categories