Solution of CONDA (PIP) bad interpreter

because of the change of server, I moved the conda environment used in the original server directly to the new server. As a result, the “Conda (PIP) bad Interpreter” error appeared when using the conda(PIP) command on the new server. The solution:

  • enter which PIP view PIP path
  • enter which python view python path
  • use vim to open the PIP path (or python path) that you have just obtained. Change the path in the first line of the code to be the same as the PIP path.

Read More: