Skip to content

Fresh Apple M1 install of homebrew and python, need to update path? #476

Answered by Rylan12
TXBDan asked this question in Getting started
Discussion options

You must be logged in to vote

Are you having trouble using python? If you've added /opt/homebrew/bin to your path (which seems likely given that you were able to run brew install python) you should be good. Homebrew automatically links binaries to $(brew --prefix)/bin which is /opt/homebrew/bin on arm macs.

Check which -a python3 to make sure that /opt/homebrew/bin/python3 shows up. If so, python3 -V should return 3.9.1.

If not, check brew doctor. If it has a warning saying you python@3.9 us unlinked, running brew link python@3.9 should solve your problem.

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@gromgit
Comment options

@gogohaku
Comment options

@emil-ep
Comment options

@amathamsetty
Comment options

@prasanna-munnangi
Comment options

Answer selected by TXBDan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants