Python Forum
Beginner question - Terminal
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Beginner question - Terminal
#1
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?
Reply
#2
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
Reply
#3
(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?
Reply
#4
(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?
Reply
#5
(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'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply
#6
(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
Reply
#7
(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".
Reply
#8
(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
Reply
#9
Look at The right and wrong way to set Python 3 as default on a Mac.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Beginner Question everafter 1 1,884 Aug-20-2019, 05:20 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020