Trying to get pip working on my Ubuntu pc. pip seems to be working for python2.7, but not for others.
Here\'s the problem:
$ pip
Traceback (most recent c
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py
confirm its installation:
pip3 --version
or
python3 -m pip --version
now go ahead and install your desired packages (for example numpy
) using:
pip3 install numpy
or
python3 -m pip install numpy
Here is the reference: https://pip.pypa.io/en/stable/installing/