Unable to delete entries from nonexistent file.

When I try to delete entries from a nonexistent file, I met the following error:

Unable to delete entries from non-existent file / usr / local / bin / anaconda 2 / lib / python2.7 / site-packages / easy-install.pth

How can i solve this? Thanks in advance.

+14
source share
2 answers

I assume you have a problem with pip install or something that uses it as tox ? This is a known issue with anaconda. You can fix the problem by adding the --ignore-installed option when installing the code.

+45
source

pip searches for a file with this location. Try to create a new one.

 touch /usr/local/bin/anaconda2/lib/python2.7/site-packages/easy-install.pth 

source

Worked for me!

0
source

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


All Articles