There are a few things that you could try:

  • Make sure your path is correct and properly connected
  • Go to users>your_user then click on Cmd+shift+. this way you will be able to access the hidden files, then proceed to open the .bash_profile and make sure the export path is properly entered/or enter it and save. (remember to refresh the terminal before running the python command)
  • Try typing just python3 in the terminal, the terminal should automatically recognize which version of python you are working on.
  • You could add your export path to .zshrc file and shift to the zsh terminal by entering chsh -s /bin/zsh
Answer from user15795580 on Stack Overflow
🌐
Python.org
discuss.python.org › python help
Mac Terminal doesn't recognize the command "Python" - Python Help - Discussions on Python.org
April 18, 2023 - I confess I’m a newbie. Thanks in advance for patience. I installed Python. Supposedly I should be able to use the command “python --version” in Terminal. Terminal doesn’t recognize “python” as a command (I’m not using …
Discussions

The correct Python version is not showing up in Terminal.
How did you install the newer python version? I see you have anaconda installed so did you create a new environment with conda? (This would be basically: conda create -n myenv python=3.12 conda activate myenv ) If you use conda for virtual environments and managing versions and dependencies it's not a good idea to mix that with other installations from other sources. You likely have the other version installed somewhere but it's not your terminals default Interpreter/installation. See for more detail: https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html More on reddit.com
🌐 r/learnpython
17
2
November 24, 2023
I just installed python on my Mac but my terminal is telling
I just installed python on my Mac but my terminal is telling me that it is not installed. I typed 'which python' in my More on justanswer.com
🌐 justanswer.com
0
April 1, 2024
macos - The terminal on my Mac does not work anymore after installing Python & Sublime Text - Ask Different
I was trying to install Python3, and Sublime Text 3 in order to learn and run Python. Unfortunately, I watched some videos on youtube and tried to follow their instructions, I did something with my More on apple.stackexchange.com
🌐 apple.stackexchange.com
Not sure why I keep getting this error "zsh: Command not found: python" in the Mac terminal
If you are on Mac, you should probably use python3 command, not python. More on reddit.com
🌐 r/learnpython
5
1
December 18, 2023
🌐
Python.org
discuss.python.org › python help
Newbie Help: Terminal Can't Find Python - Python Help - Discussions on Python.org
May 31, 2021 - Newbie help! (Mac OS 11.1) I’ve downloaded Python 3.9 and PyCharm and have been working through a “Great Courses” video, but I’m stuck. Terminal does not find 3.9. When I put “python —version” into the Command line, what comes back is “Python 2.716.” I have run “Install ...
🌐
freeCodeCamp
freecodecamp.org › news › how-to-fix-python-installation-errors-on-mac
How to Fix Common Python Installation Errors on macOS
June 10, 2024 - But you may have installed Xcode ... supports Apple development utilities. Try python3 --version and which -a python3 to check if Python was installed with Xcode Command Line Tools. $ python3 --version Python 3.9.6 $ which ...
🌐
Mac Install Guide
mac.install.guide › python › command-not-found-python
'zsh: command not found: python' · Mac Install Guide
December 18, 2023 - ... If you are using the Bash shell, you likely have an older version of the macOS. Check macOS and upgrade macOS and switch to the Zsh shell. You'll need a terminal application to fix the error.
🌐
JustAnswer
justanswer.com › computer-programming › olxhl-just-installed-python-mac-terminal-telling.html
I just installed python on my Mac but my terminal is telling me that it is not installed. I typed 'which python' in my
April 1, 2024 - So, you went to your terminal to check the Python version, but you're getting 'Python not found' and 'command not found' errors. ... Yes, that's right. I tried 'which Python' and 'Python --version', but neither worked. ... On Mac, it's usually Python 3. Can you try typing 'Python 3' in your terminal? ... Issues with my terminal and vscode. Python. I need someone to help me understand how to fix my terminal and visual · I installed Ubuntu 9.10 which has Python 2.6 as a default build.
Find elsewhere
🌐
Reddit
reddit.com › r/learnpython › not sure why i keep getting this error "zsh: command not found: python" in the mac terminal
r/learnpython on Reddit: Not sure why I keep getting this error "zsh: Command not found: python" in the Mac terminal
December 18, 2023 -

I am just starting to learn python. I downloaded python and everything but every time I try to use the python command I get the same error message.

If anyone has any advice or knows why this is happening, it would be much appreciated! Thanks.

🌐
Reddit
reddit.com › r/macos › for some reason my macbook is saying python not found even though its installed on my mac please help!!!!!
r/MacOS on Reddit: for some reason my macbook is saying python not found even though its installed on my mac PLEASE HELP!!!!!
May 21, 2022 - ... vim ~/.zshrc run this command or open that file with any text editor. add alias python="python3" make sure its the same spacing and save and reset terminal. ... Slightly different approach: run xcode-select --install at the command line.
🌐
Apple Community
discussions.apple.com › thread › 254274122
unable to use python command in Terminal … - Apple Community
Get it here: https://www.python.org/downloads/release/python-3107/ The page contains installers for various OS. Choose the macos installer, of course. Once installed, quit Terminal if it is running, then start it again and it should work. ... Your code is not fully compatible with Python 3.
🌐
Python.org
discuss.python.org › python help
Need Help: Terminal Can’t Find Python - Python Help - Discussions on Python.org
October 2, 2022 - Hey, I am new to Python. I’ve downloaded Python and PyCharm and have been working but my mac Terminal shows command not found: python, When I put “python --version” into the Command line, I have run “Install Certificat…
🌐
Fjolt
fjolt.com › article › python-command-not-found
How to fix 'zsh: command not found: python'
August 13, 2022 - You can do this by running the ... when python is run. If you are still facing issues, ensure that python=$ where the $ sign should equal the path python is installed on....
🌐
Super User
superuser.com › questions › 1891282 › why-is-python-not-found-but-python3-found-on-macos
mac - Why is “python” not found but “python3’ found on macOS? - Super User
April 10, 2025 - I had brought the MacBook a year ago. I am not sure if I installed Python; I believe I might have but not very confident. After a gap of about 6 months I started working on Python, I entered python --version on my macOS terminal got “command not found” however when I try python3, it works.
🌐
Apple Developer
developer.apple.com › forums › thread › 712657
Python not working on Mac OS M1 as… | Apple Developer Forums
Workaround is to symlink directly to python3 in your Xcode or Xcode command line tools install. eg · sudo rm /usr/local/bin/python sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /usr/local/bin/python OR sudo ln -s //Library/Developer/CommandLineTools/usr/bin/python3 ...
🌐
Stack Overflow
stackoverflow.com › questions › 76811728 › python-3-10-installed-on-mac-but-cannot-locate-python-in-terminal
macos - Python 3.10 installed on Mac but cannot locate Python in terminal - Stack Overflow
... Show activity on this post. Check Installation Location: First, ensure that Python 3.10 was installed correctly on your system. By default, Python 3.10 should be installed in the /usr/local/bin directory.
🌐
Ahmad Awais
ahmadawais.com › home › python not found on macos | install python with brew | fix $path
Python not found on MacOS | Install Python with brew | Fix $PATH
June 12, 2023 - Learn how to update Python on macOS and make Python 3.11 the default version. Follow step-by-step instructions to install Python via Homebrew, configure the $PATH variable, and start a new login shell. Say goodbye to "command not found: python" and enjoy the latest Python version on your Mac.
🌐
Reddit
reddit.com › r/learnpython › trying to learn python and can't even get the terminal to show up. i'm already stumbling!
r/learnpython on Reddit: Trying to learn Python and can't even get the terminal to show up. I'm already stumbling!
December 27, 2023 -

So I decided to dip my toes into Python as it's what's used by the developers at my work. Really just trying to get an understanding of the program and gain some familiarity. Trying to install on my new MacBook Pro M3 Max now. Installed latest version 3.12.1 but cannot get past this screen to open up the Python Terminal. Idle seems to work but when I open up the Python launcher, I do not get a screen that shows File..Edit..Format..Run..Etc. just the one attached. This also shows the dialog that pops up for settings. Anyway, not sure what I'm missing but Im sure it's something simple. Thanks in advance for your help. (doesn't look like I can post the screenshot so will add it to the next post or reply if I can.

https://bashify.io/images/LevBzp