Unable to remove enditable pip package

I installed the smbus2 package as editable,

pip install -e ./smbus2-0.1.4

Now I want to delete it, but I can’t. This is what I get when I remove it,

$ pip uninstall smbus2
Can't uninstall 'smbus2'. No files were found to uninstall.

Here is the result pip show --files smbus2

Name: smbus2
Version: 0.1.4
Location: /home/pi/projects/smbus2-0.1.4
Requires:
Files:
Cannot locate installed-files.txt

What do I need to do to remove it, and let it pipknow that it is deleted?

EDIT

$ pip --version
pip 1.5.6 from /usr/lib/python2.7/dist-packages (python 2.7)
+4
source share

Source: https://habr.com/ru/post/1677024/


All Articles