0

I've been trying to install pip for Python3 on mojave. I've seen different posts on SO and other websites but nothing works.

for instance, in How to install pip for Python 3 on Mac OS X?

I follow the steps:

curl -O https://bootstrap.pypa.io/ez_setup.py

python3 ez_setup.py

curl -O https://bootstrap.pypa.io/get-pip.py

python3 get-pip.py

but when running python3 get-pip.py it reinstalls pip for python2.

Is there a way to install pip for python3 without removing python2 from the system?

hoefling
  • 39,011
  • 9
  • 90
  • 132
baskcat
  • 103
  • 9

1 Answers1

0

This post suggests to use homebrew in order to install pip3: How to install pip3 on my Mac?

David
  • 1,357
  • 8
  • 27
  • thanks for the help, I had `brew` installed all along, but it actually worked with `python3 -m pip` – baskcat Apr 13 '20 at 10:36