Quantcast
Channel: nixCraft
Viewing all articles
Browse latest Browse all 256

Linux / Unix: “-bash: python: command not found” error and solution

$
0
0
I am a new user and trying to run Python program. I have a cloud based VM/VPS and when I type python mycode.py at the terminal of my server, I get the following error:
-bash: python: command not found

How do I solve this problem?

Viewing all articles
Browse latest Browse all 256

Trending Articles