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?
Try using pip3 instead of pip.
Download get-pip.py script to install pip:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 -m pip install biopython
pip3 install biopython
If an answer was helpful, you should upvote it; if the answer resolved your question, you should mark it as accepted. You can accept more than one answer if they all work.
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.
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy