Python Forum

Full Version: invoking python in Terminal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am new to python and I want to use the matlab2python converter to help me learn it. I installed Python 3.11.5 using the installer at:

https://www.python.org/ftp/python/3.11.5...acos11.pkg

After doing so, I was hoping to invoke python in the Terminal on macOS, but I get the error:

zsh: command not found: python

when I try anything with the command python.

What am I doing wrong?

Thank you!
I never has a computer with MacOS, so I can't speak from experience.

To try out code it's probably best to use an IDE. Python comes with it's own IDE, called Idle.

Here is a link on how to do that: LINKME
try python3