Ubuntu Desktop 16.04 LTS installed system by default Python has two different versions (2.7.12 and 3.5.2)
Now familiarize yourself with the kernel configuration process for the two different Python versions of Jupyter python:
1. Download the different Python kernel versions separately
The command is as follows:
sudo pip2 install Ipykernel
sudo pip3 install Ipykernel
2. Install a different Python kernel version
The command is as follows:
sudo python2-m ipykernel install--user
sudo python3-m ipykernel install--user
3. Configure a different Python kernel version
Configuration commands for Python2:
sudo jupyter kernelspec install/usr/bin/(python2 path can be viewed by which python2 command)
Configuration commands for Python3:
sudo jupyter kernelspec install/usr/local/bin/(python3 path can be viewed by which Python3 command)
4. Start Jupyter Notebook
sudo jupyter notebook--allow-root
This will allow you to see two different versions of the Python kernel version
Ubuntu Desktop 16.04 LTS successfully configured the Jupyter two Python kernel version (2.7x,3.5x)