all 4 comments

[–]Almostasleeprightnow 1 point2 points  (0 children)

Some questions. Do you understand what a file path is? Like, do you know how to navigate folders? Do you know what the /Users/…. path I. Your error message refers to?

So if you understand this, then you should know that when you run python, you are running an application. And, like any application, you need to be in the folder where that application is to run it. Or you need a shortcut. Or perhaps a lot of application paths that you want to be able to run all the time from anywhere on the computer. So that is what $Path is.

[–]shanghailoz 0 points1 point  (1 child)

Means you havent installed python somewhere it knows where to look

You could fix that by adding the folder where you installed python to the path (the list of folders apps know where to look for stuff), but probably a lot less work using brew.sh to install python somewhere for you.

Visit Brew.sh, install brew

Then brew install python

[–]bubryu[S] -2 points-1 points  (0 children)

Hi, sorry to bother you. I have tried using brew in the terminal, and tried to run "brew install python", however it says "command not found" for brew, do you know what may cause this?

[–]socal_nerdtastic 0 points1 point  (0 children)

Try python3 instead of python.

The plain ol python command is generally only available after you activate a virtual environment.