Install python3.5.x and ipython in Centos
Download source code
Download the source code package from Python
One is at the end of tgz, and the other is at the end of tar. xz. You can just download tar. xz.
Python-3.5.2.tar.xz
cd Python-3.5.2.tar.xz
In the folder
./Configuremakemake install # Use the root permission here
It will be successful. By the way, it will help me install pip-8.1.1.
Python3 -- version # You can see the python version.
Next is ipython source code download page: https://pypi.python.org/pypi/ipython or go to Git download: https://github.com/ipython/ipython/downloads good
tar -zxvf ipython-5.1.0.tar.gzcd ipython-5.1.0.tar.gzpython setup.py install
Enter ipython on the terminal.
ipython
I was scared to death. The last sentence is the lack of a traitlets module.
pip3 install traitlets
Later, various modules were missing.
Pip3 install xxx #.
If the installation fails, it may be because the pip version is not high enough.
Pip3 install -- upgrade pip # upgrade
If the upgrade may fail, reinstall pip.
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificatepython3 get-pip.py
After each module is installed, you can use BINGO!