I am using pip installed via minconda. I installed it
~/miniconda3 and then move the installation directory to
~/tools/miniconda3. After that, I changed the
PATH accordingly. However,
when I use pip, I am seeing the following error:
/home/jdhao/miniconda3/bin/python: bad interpreter: No such file or directory
this is because the executable
actually a Python source file. Its first line is a shebang:
and it still points to the old Python that is no longer there. Hence, the error message.
A simple solution is to remove miniconda3 directory and install it again.
License CC BY-NC-ND 4.0