reset PATH for pip

I have pip installed on the wrong PATH and I have no idea how to fix it. I tried reseting it to the default using:

PATH=/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin
export PATH


Not sure what exactly to change in the editor. I no longer have Anaconda but when I uninstalled it, I guess this part was left over.


I changed: export PATH=“/Library/Frameworks/Python.framework/Versions/3.11/bin:$PATH”

to the last two lines, but it didn't solve it.


MacBook Pro 13″

Posted on Jul 20, 2023 2:22 AM

Reply

Similar questions

1 reply

Jul 20, 2023 4:31 AM in response to Riuk

Contact Anaconda for support. I always use the Python.org installer and do not run into these Anaconda issues which make installation and configuration more difficult than necessary.


If you installed Xcode or CommandLine Tools for Xcode, these will place /usr/bin/python3 and /usr/bin/pip3 which will always be accessed before the Anaconda counterparts, and the solution is PATH order, but Anaconda may be more of an issue than it seems.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

reset PATH for pip

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.