Closed LilySnow closed 5 years ago
Ok, found the egg-link file. Problem solved.
One more question: Shall we automatically remove the egg-link file when running pip install -e ./
the egg should be removed automatically with with pip uninstall no ?
req_uninstall.py
planned to do it but failed (see line501-505) when iscore tries to be installed in a new location other than the previous location.
This is caused by the egg-link file from the previous installation. For example, /home/lixue/tools/anaconda3/lib/python3.6/site-packages/iScore.egg-link
has a content that points to the previous location: /data/lixue/capri/Capri47/T160/test_iscore/iScore
. If we try to install iscore to a new location (e.g., /home/lixue/tools/iScore
, it will give the error message:
AssertionError: Egg-link /data/lixue/capri/Capri47/T160/test_iscore/iScore does not match installed location of iScore (at /home/lixue/tools/iScore)
Sorry, my bad. No problems any more. As long as a user does not manually delete the previous folder, it should be fine.
I installed iscore in one location. Then I deleted it and wanted to install it in another location. But I got the following error message when running
pip install -e ./
: