2

After updating from version of Ubuntu 18.04 to 19.04, facing different issues as follows please give solution for given.

1) Python 3.6 is not working and default version is become python 3.7

This question is not to asking how to install py 3.6 after installing 3.7

1 Answers1

4

You can download Python 3.6.7 source code from Python site, then compile it yourself.

wget -P ~/Downloads https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tar.xz
cd ~/Downloads
tar -xJf Python-3.6.7.tar.xz
cd Python-3.6.7

Proceed to installation.

./configure
make
make test
sudo make install

This will install Python as python3 executable, assuming that what you want.

Liso
  • 15,677