My default version of python3 is 3.7.5. I need to install 3.6.5. I was told that ubuntu 19.10 depends on 3.7.5. So I cannot replace it. I need them to be side by side. I have ran these lines on the command prompt:
wget -P ~/Downloads https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz
cd ~/Downloads
tar -xJf Python-3.6.5.tar.xz
cd Python-3.6.5
./configure
make
make test
After the "make test" command is entered, some tests failed. And it has been running for hours.
The final line is either:
sudo make install
or
sudo make altinstall
I was told that the first option will replace 3.7.5, while the second will install them side by side.
Questions:
- Since some tests failed, can I still install 3.6.5? What does it mean that the tests are failing.
- is "sudo make altinstall" the right command to install them side by side? If so, what is the command to run 3.6.5, if 3.7.5 will still be the default?