When you can't uninstall the python library. Can't uninstall'hogehoge'. No files were found to uninstall.

If pip install cannot be done properly, uninstall may not be possible. There are cases where the installation stops without appearing in the pip list, and there are patterns where the pip list can be done but does not work.

Erase directly.

sudo mv /usr/local/lib/python2.7/dist-packages/hogehoge /SOMEWHERE/backupDir


sudo mv /usr/local/lib/python2.7/dist-packages/hogehoge.egg-info /SOMEWHERE/backupDir```

 Make sure not
```pip list | grep hogehoge```



Recommended Posts

When you can't uninstall the python library. Can't uninstall'hogehoge'. No files were found to uninstall.
What to do when you can't bind CaboCha to Python
(Python3) No. oO (Are you using the standard library?): 5 shaders
[Python] How to import the library
What to do when you get "I can't see the site !!!!"
When you want to use multiple versions of the same Python library (virtual environment using venv)
About the handling of ZIP files including Japanese files when upgrading from Python2 to Python3
How to use the C library in Python
How to get the files in the [Python] folder
What to do if you get `No kernel for language python found` in Hydrogen
[Introduction to Python] Basic usage of the library scipy that you absolutely must know
Software that saves the set character string to the clipboard when you click the [Python] button
"Cython" tutorial to make Python explosive: When C ++ code depends on the library. Preparation
What to do if you can't hit the arrow keys in the Python interactive console
I wanted to use the Python library from MATLAB
[Python] How to use the graph creation library Altair
Specifies the function to execute when the python program ends
[Introduction to Python] Basic usage of the library matplotlib
"Cython" tutorial to make Python explosive: When C ++ code depends on the library. Write setup.py.
[Python] When you want to import and use your own package in the upper directory
How to log with python (when No handlers could be found for logger "__main__" appears)
If you can't use Beautiful Soup 4 after updating to Python 3.5. ImportError: No module named bs4
Solution when you want to use cv_bridge with python3 (virtualenv)
[Django] A memorandum when you want to communicate asynchronously [Python3]
How to debug the Python standard library in Visual Studio
[python] How to use the library Matplotlib for drawing graphs
Knowledge you need to know when programming competitive programming with Python2
What to do if you can't sort files with subscripts
ImportError: No module What to do when you are told
When you want to hit a UNIX command on Python
Pass OpenCV data from the original C ++ library to Python
Write a script in Shell and Python to notify you in Slack when the process is finished