-bash: python: command not found

centos7
python
python3
yum

#1

I study and download some python script from Gitlab page. But, when I run on my Linode server it said “-bash: python: command not found”. What do you mean not found? Is not install by default on server? I use CentOS 7 if that helps. Kindly guide newbie.


#2

Use the yum command to install python:

sudo yum install python

OR

sudo yum install python3

Take a look at my FAQ: