Python Forum

Full Version: Beginner question - Terminal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded the latest version of python on my Mac, and went to Terminal to check if everything's working.
When I type "python --version" I get the message "zsh: command not found: python"
typing "python3" gives me the same result.

Does anyone know what is going on?
try python -V

Not sure when the --version and other naming was started, but your OS may have a version prior to the introduction.
try python -V
(Apr-29-2021, 11:02 AM)Larz60+ Wrote: [ -> ]try python -V

Not sure when the --version and other naming was started, but your OS may have a version prior to the introduction.
try python -V

Gives me the same answer - "zsh: command not found: python"

Is it possible to delete everything, and start from scratch?
(Apr-29-2021, 11:55 AM)Alex121 Wrote: [ -> ]
(Apr-29-2021, 11:02 AM)Larz60+ Wrote: [ -> ]try python -V

Not sure when the --version and other naming was started, but your OS may have a version prior to the introduction.
try python -V

Gives me the same answer - "zsh: command not found: python"

Is it possible to delete everything, and start from scratch?
what system do you use?
(Apr-29-2021, 10:43 AM)Alex121 Wrote: [ -> ]I downloaded the latest version of python on my Mac, and went to Terminal to check if everything's working.

Can you be more specific? For example: what version and from where you dowloadad; did you install it; did installer displayed some options during installation etc.

On Mac in terminal python -V or python3 -V should work.
(Apr-29-2021, 12:00 PM)raarkil Wrote: [ -> ]
(Apr-29-2021, 11:55 AM)Alex121 Wrote: [ -> ]Gives me the same answer - "zsh: command not found: python"

Is it possible to delete everything, and start from scratch?
what system do you use?
macOS Big Sur 11.2.3
(Apr-29-2021, 12:40 PM)perfringo Wrote: [ -> ]
(Apr-29-2021, 10:43 AM)Alex121 Wrote: [ -> ]I downloaded the latest version of python on my Mac, and went to Terminal to check if everything's working.

Can you be more specific? For example: what version and from where you dowloadad; did you install it; did installer displayed some options during installation etc.

On Mac in terminal python -V or python3 -V should work.

I downloaded version 3.9.4 from python's website. Then went through the installation process, and it is now a folder in the "Applications".
(Apr-29-2021, 12:40 PM)perfringo Wrote: [ -> ]
(Apr-29-2021, 10:43 AM)Alex121 Wrote: [ -> ]I downloaded the latest version of python on my Mac, and went to Terminal to check if everything's working.

Can you be more specific? For example: what version and from where you dowloadad; did you install it; did installer displayed some options during installation etc.

On Mac in terminal python -V or python3 -V should work.

Those commands don't work. Still says "zsh: command not found: python". The link shows how python got installed. https://ibb.co/bKQHTNp