Ken
Ken

Reputation: 1461

Python path broken on MacOS

So I've had this problem for a while now where sometimes random commands with pip don't work. Just today I was trying to run the command:

$ python3 -m pip3 install --upgrade pip3
/usr/local/opt/[email protected]/bin/python3.9: No module named pip3

EDIT - I have tried:

$ python3 -m pip install -U pip
Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (21.0.1)
$ python3 -m pip3 install --upgrade pip3
/usr/local/opt/[email protected]/bin/python3.9: No module named pip3

Any idea what might be causing this and how to fix?

Upvotes: 0

Views: 171

Answers (1)

dedede
dedede

Reputation: 347

Pip is already up-to-date. There is nothing to fix.

Upvotes: 2

Related Questions