If you want to use Pip in order to instalI packages to a conda environment, you can follows these steps:
– Run conda create -n myenv
– Run conda activate myenv
– Run conda install pip
. This will install pip to your myenv directory.
– Go to your Anaconda folder
– Find the myenv folder, e.g, /anaconda/envs/myenv/
– Run /anaconda/envs/myenv/bin/pip install package_name
.
Now you are able to install pip packages in an Anaconda environment.