When you are using pip command in conda environment, you may get this error: pip bad interpreter. In this tutorial, we will introduce you how to fix it.
This error likes below:
How to fix?
From this post: Fix Conda Bad Interpreter: No such file or directory Error , we can fix this error using these steps.
Step 1: edit miniconda3/bin/pip
Step 2: set a correct python path
Then, you will find this error is fixed.