anaconda cannot find pip3 and do not want to use pip or pip2
15,345
Try Using this:
conda create --name <env_name> python=3
It will create a new virtual environment using python 3 for conda. You may install your packages using conda install <package_name>
after activating your environment.
Refer here for more on conda environments.
Author by
user3226932
Updated on June 04, 2022Comments
-
user3226932 almost 2 years
I have pip installed in my anaconda3 folder, but pip3 is installed in another folder in /usr/lib/python3/dist-packages (not in anaconda folder which is in my home folder).
How I do install pip3 for anaconda so I can use pip3 to install djangorestframework in my virtual environment? I cannot use the pip3 in the /usr/lib/ folder because I would need to sudo, I do not want to use sudo.
-
user3226932 about 7 yearsare you saying i shouldn't use pip3?