We have a cluster consists of 5 machine for running Apache spark.
One of the machine the default python is 2.7 and the command which python
output the following path /usr/local/bin/python
The other 4 machine, the default python is 2.6 and the command which python
output the following path /usr/bin/python
.
How can I change the python on the first machine to be like the others?
$PATH
variable to see if/usr/bin
is put at the first order.