Small Q: Mountain outside the castle Peak Louwai Lou, the West Lake song and dance when Hugh, warm wind smoked tourists drunk, only Hangzhou than Zhongzhou. --Lin Shen • Title Lin ' An di
========================================================
On the 18th day of Hangzhou, I came to the South alone for the first time, and felt lonely when I was on the 6th of the week. Helpless, can only seek interest, study, fill.
have been experimenting with PIP installation Ipython Way, encountered some problems, see below:
Environment: CentOS 6
Recommended Source: wget http://mirrors.aliyun.com/epel/epel-release-latest-6.noarch.rpm
RPM-IVH epel-release-latest-6.noarch.rpm
Yum Install-y Python-pip
Pip Install ipython==1.2.1 (==2.0.0 or 2.1.0 or 2.2.0 or 2.3.0 .... Low version)
After that, it can be used smoothly.
Summary of------------------------------------issues --------------------------------------------------
Wrong source: A epel-release-latest-5.noarch.rpm source was installed .
Yum installs the Ipython report without this package, and then installs the Epel. T-6.NOARCH.RPM,RPM Install package Error
650) this.width=650; "Src=" http://s1.51cto.com/wyfs02/M02/84/43/ Wkiom1ek7gkchcz6aaa7ymt8ibk812.png "title=" 1.png "alt=" Wkiom1ek7gkchcz6aaa7ymt8ibk812.png "/> intends to remove Epel-5,find / -name epel* was found after deleting yum.repo.d/and some epel-5 classes;
but install 6 or report the above error, rpm -qa Epel Find installed epel-5 package, nor found;
Correct solution:rpm-qa epel-release >>>>> rpm-e epel-release-6-8.noarch
Wrong version: When installing Ipython, no version is specified, Pip is installed by default 5.0 Ipython
Error, Ipython need at least 2.7/3.* version, and CENTOS6 comes with the 2.6 version of Python,
I tried to install version 3.0 of Python, and then put this Python soft link to python3, and want to call Ipython
Python3, but did not know why Yum was wrong, and so I changed the method.
Correct solution: Pip uninstall Ipython >>>>> pip install ipython==2.1.0
Wrong system: I use CentOS 7, install this extension source, then install PYTHON-PIP, error
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/84/43/wKiom1eK87vRTxAbAABnOBlG9Cs766.png "title=" 2.png " alt= "Wkiom1ek87vrtxabaabnoblg9cs766.png"/>
Originally this extension source with is suitable for python-2.6 Pip, and Centos-7 comes with the 2.7 version, does not match;
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/84/43/wKioL1eK9P3y2OyKAABX4bu90FI994.png "title=" 3.png " alt= "Wkiol1ek9p3y2oykaabx4bu90fi994.png"/>
I try to install the source code 2.6 python, and then it is similar to the above error, so I modified the soft chain
Ln-sfv/usr/local/python/bin/python/usr/bin/python
After Yum installs Python-pip, the error yum command is wrong, originally Yum is written in Python, with the original
python-2.7, there is a relationship, I still do not understand???????? 、
Correct solution: Source installed ipython-3.0 or the latest version of PIP.
About the system's own python-to-Yum relationship resolution, the online tutorial says:
Find Yum and Yum-updatest files, and edit this py file
[email protected] local]# which Yum
[Email protected] local]# Vi/usr/bin/yum
/usr/bin/yum
Will #!/usr/bin/python
Instead: #!/usr/bin/python2.7
[Email protected] local]# vi/usr/bin/yum-updatest
Will #!/usr/bin/python
Instead: #!/usr/bin/python2.7
Call the original Python that comes with it.
Python--About PIP installation Ipython