python version that is on my linux (arch) is python3.5.1 and python2.7.11
I want to switch to python3.4 how can I do that? I try to install on terminal but it faild
python version that is on my linux (arch) is python3.5.1 and python2.7.11
I want to switch to python3.4 how can I do that? I try to install on terminal but it faild
In general, I would highly recommend using a virtual environment system like virtualenv or anaconda/miniconda when dealing with multiple versions of anything. Anaconda docs Virtualenv example from SO.
This means that you can do either source activate <env name>
or ./bin/activate
for anaconda and virtualenv. Then each "install" of python gets its own set of packages, meaning that they're completely isolated.
Doing this also lets you run your own customized environments without having to mess with the main install, which is awesome especially on systems you don't "own".
Probably you should use those commands:
sudo apt-get remove python3.5
sudo apt-get install python3.(version)