What i think i know currently is this:
- The way to install pip is
sudo apt-get install python-pip
sudo apt-get install python-pip
installs pip at '/usr/lib/python3/dist-packages'pip install abc
installs abc to virtualenv where pip that gets called is
I use conda, and i have an environment 'env' created with it for some time now. I needed to install a package that said i needed pip3 > 19.0.1 so i which pip
and it was 9.0.2 and it was well within the environment. i updated the pip using python -m pip install --upgrade pip
and it got upgraded to 20.0.2. I am happy. However, which pip3
gives me global location, version 9.0.2 and the package i am going to be installing requires pip3 install ..
command and conda install pip3
doesn't exist
questions:
- How do i install pip3 in a conda environment?
- Supposing i did not have
conda install pip
or let us say i had a non conda virtualenv created, how do i go about installing a pip in this environment so thatpip install ...
does not install to global location?