Skip to main content
Bumped by Community user
add PATH from comment
Source Link
grg
  • 205.6k
  • 45
  • 364
  • 496

(novice question) newly Newly installed python 3.12 is overshadowed

I have a working python version - python3 --versiongave gave Python 3.9.6. Then I used homebrew to install python 3.12. It is located in /opt/homebrew/bin according to the homebrew installer. If I run whereis pythonI I get usr/bin/python3and /opt/homebrew/share/man/man1/python3.1 instead. Should I just delete the python binary in /usr/bin/Pythonor is there a better way? In the cloned git repo I will be working with I need to install a virtual environment with venv. Can there be any conflicts if I use the python version in the homebrew directory and delete the binary in /usr/bin? Many thanks!

echo $PATH is /Applications/Sublime Text.app/Contents/SharedSupport/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/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:/Library/Apple/usr/bin:/Users/david/.cargo/bin

(novice question) newly installed python 3.12 is overshadowed

I have a working python version - python3 --versiongave Python 3.9.6. Then I used homebrew to install python 3.12. It is located in /opt/homebrew/bin according to the homebrew installer. If I run whereis pythonI get usr/bin/python3and /opt/homebrew/share/man/man1/python3.1 instead. Should I just delete the python binary in /usr/bin/Pythonor is there a better way? In the cloned git repo I will be working with I need to install a virtual environment with venv. Can there be any conflicts if I use the python version in the homebrew directory and delete the binary in /usr/bin? Many thanks!

Newly installed python 3.12 is overshadowed

I have a working python version - python3 --version gave Python 3.9.6. Then I used homebrew to install python 3.12. It is located in /opt/homebrew/bin according to the homebrew installer. If I run whereis python I get usr/bin/python3and /opt/homebrew/share/man/man1/python3.1 instead. Should I just delete the python binary in /usr/bin/Pythonor is there a better way? In the cloned git repo I will be working with I need to install a virtual environment with venv. Can there be any conflicts if I use the python version in the homebrew directory and delete the binary in /usr/bin?

echo $PATH is /Applications/Sublime Text.app/Contents/SharedSupport/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/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:/Library/Apple/usr/bin:/Users/david/.cargo/bin

Bumped by Community user
edited tags
Link
nohillside
  • 104.5k
  • 42
  • 222
  • 275
added 226 characters in body
Source Link

I have a working python version - python3 --versiongave Python 3.9.6. Then I used homebrew to install python 3.12. It is located in /opt/homebrew/bin according to the homebrew installer. If I run whereis pythonI get usr/bin/python3and /opt/homebrew/share/man/man1/python3.1 instead. Should I just delete the python binary in /usr/bin/Pythonor is there a better way? In the cloned git repo I will be working with I need to install a virtual environment with venv. Can there be any conflicts if I use the python version in the homebrew directory and delete the binary in /usr/bin? Many thanks!

I have a working python version - python3 --versiongave Python 3.9.6. Then I used homebrew to install python 3.12. It is located in /opt/homebrew/bin according to the homebrew installer. If I run whereis pythonI get usr/bin/python3and /opt/homebrew/share/man/man1/python3.1 instead. Should I just delete the python binary in /usr/bin/Pythonor is there a better way? Many thanks!

I have a working python version - python3 --versiongave Python 3.9.6. Then I used homebrew to install python 3.12. It is located in /opt/homebrew/bin according to the homebrew installer. If I run whereis pythonI get usr/bin/python3and /opt/homebrew/share/man/man1/python3.1 instead. Should I just delete the python binary in /usr/bin/Pythonor is there a better way? In the cloned git repo I will be working with I need to install a virtual environment with venv. Can there be any conflicts if I use the python version in the homebrew directory and delete the binary in /usr/bin? Many thanks!

Source Link
Loading