我对 python 完全陌生,所以我不知道这里发生了什么。
当我做
which pip
/usr/bin/which: no pip in (/usr/local/bin/python:/usr/bin/python2:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
然后安装 pip,当我这样做时
sudo yum install python-pip
我明白了
Loaded plugins: fastestmirror, versionlock
Loading mirror speeds from cached hostfile
* base: centos.myfahim.com
* epel: kartolo.sby.datautama.net.id
* extras: centos.myfahim.com
* updates: centos.myfahim.com
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Nothing to do
有人可以帮忙吗。这非常令人沮丧。
PS:这是我的 python 详细信息
which python
/usr/local/bin/python
python --version
Python 2.6.6