I'm trying to install biopython on my Mac (python 3.8) using pip but get the error message 'No module named pip'
How do I use pip? Do I need to install it?
I'm trying to install biopython on my Mac (python 3.8) using pip but get the error message 'No module named pip'
How do I use pip? Do I need to install it?
Download get-pip.py
script to install pip:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
Install pip:
python3 get-pip.py
Install biopython:
python3 -m pip install biopython
or
pip3 install biopython
On Mac using brew is a better option as apt-get is not available. Command:
brew install python
In case you have both python2 & python3 installed on machine
python2.7 -m ensurepip --default-pip
simply should solve the issue.
If instead you are missing pip from python 3 then simply change python2.7 to python3 in the command above.
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Try using
pip3
instead ofpip
.