16 Comments
User's avatar
⭠ Return to thread
Tom E's avatar

Struggling here, I nuked as many python installs as I could, including anaconda since everything was broken. But homebrew is still there & seems to be the default, even after following the above. For example 'which python3.10' returns the below in my terminal:

/opt/homebrew/bin/python3.10

What do I need to do here to use the python.org version?

Bite Code!'s avatar

Without having access to your machine, it's very hard for me to know.

The first thing to look at is the PATH env var: https://www.bitecode.dev/p/environment-variables-for-beginners

But with homebrew, it can be many things.

Tom E's avatar

oof - that's messier than I expected:

echo $PATH >>

/opt/homebrew/bin

/Library/Frameworks/Python.framework/Versions/3.11/bin

/opt/homebrew/bin

/opt/homebrew/sbin

/usr/local/bin

/System/Cryptexes/App/usr/bin

/usr/bin

/bin

/usr/sbin

/sbin

/usr/local/MacGPG2/bin

/Library/Frameworks/Mono.framework/Versions/Current/Commands

/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin

/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin

/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin

/usr/local/bin/python3