[PYTHON] Uninstall everything you installed with pip

Use pip freeze to retrieve the list of pip installs and uninstall it. Please note that it will be uninstalled without confirmation.

pip freeze | xargs pip uninstall -y

If you have installed with -e yourself, insert invert grep.

pip freeze | grep -v "\-e" | xargs pip uninstall -y

You will have to manually delete the modules you put in yourself ...

Recommended Posts

Uninstall everything you installed with pip
Can't find the package you installed with pip install --user?
Remove all modules installed with pip
Move what you installed with pip to the conda environment
PIL installation with pip
Installing packages with pip3
Import libraries that cannot be pip installed with PyCharm
Restore what was installed with pip3 on another PC
Use pip with MSYS2
Find out the location of packages installed with pip
Until you install TensorFlow-GPU with pip in Windows environment
Install scikit.learn with pip
[AWS] What to do when you want to pip with Lambda
Update packages already installed with pip in user environment (non-su)
Delete all libraries installed on pip with a single command
Bulk update with pip (with confirmation)
Use pip with Jupyter Notebook
When moss with pip install
Install github repository with pip
What to do if you can't install pyaudio with pip #Python
What to do if you get a UnicodeDecodeError with pip install
Read this if you get SSL related errors with pip install! !! !!
Tensorflow with Raspberry Pi. If you stumble with pip, solve it with virtualenv!
[TensorFlow] If you want to run TensorBoard, install it with pip
If you should have pip installed but get an Import error
A memo for when pip3 is installed with python2.7 for some reason