Beginner question - Terminal - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: Beginner question - Terminal (/thread-33488.html) |
Beginner question - Terminal - Alex121 - Apr-29-2021 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? RE: Beginner question - Terminal - Larz60+ - Apr-29-2021 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
RE: Beginner question - Terminal - Alex121 - Apr-29-2021 (Apr-29-2021, 11:02 AM)Larz60+ Wrote: try Gives me the same answer - "zsh: command not found: python" Is it possible to delete everything, and start from scratch? RE: Beginner question - Terminal - raarkil - Apr-29-2021 (Apr-29-2021, 11:55 AM)Alex121 Wrote:what system do you use?(Apr-29-2021, 11:02 AM)Larz60+ Wrote: try RE: Beginner question - Terminal - perfringo - Apr-29-2021 (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.
RE: Beginner question - Terminal - Alex121 - Apr-29-2021 (Apr-29-2021, 12:00 PM)raarkil Wrote:macOS Big Sur 11.2.3(Apr-29-2021, 11:55 AM)Alex121 Wrote: Gives me the same answer - "zsh: command not found: python"what system do you use? RE: Beginner question - Terminal - Alex121 - Apr-29-2021 (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. 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". RE: Beginner question - Terminal - Alex121 - Apr-29-2021 (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. Those commands don't work. Still says "zsh: command not found: python". The link shows how python got installed. https://ibb.co/bKQHTNp RE: Beginner question - Terminal - snippsat - Apr-29-2021 Look at The right and wrong way to set Python 3 as default on a Mac. |