How to use most recent Python after installation? -


i installed recent version of python 3, when command

python import sys sys.version 

it says version using 2.7. how change this?

use command "python3" instead of "python".

in linux/unix, can use command "which python", , tell path of python installation.

then can use command "which python2" , "which python3" see paths of python2 , python3.

if python3 not in path , installed, have modify system path variable.


Comments