Yesterday, one of the participant in the dgplug summer training was trying to use Python3.6.1 in the Fedora 24 box. There was some issues in the installation, I actually don't know how the installation was done. So, I just suggested to build Python 3.6.1 from source. Then have as many virtual environments as required to learn Python.
The following commands can help anyone to build from source on Fedora 24 or on Fedora 25.
$ sudo dnf install dnf-plugins-core wget make gcc $ sudo dnf builddep python3 $ wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz $ ,tar -xvf Python-3.6.1.tgz $ cd Python-3.6.1 $ ./configure --with-pydebug $ make -j2
After the above command, you will have a
python binary. Now,
next step is to create a virtual environment.
$ ./python -m venv myenv $ source myenv/bin/activate (myenv)$ python
Now you have your own Python 3.6.1. Happy hacking :)