2015-04-06 104 views
2

安裝python-PIP我的SUSE Linux Enterprise Server 11的SP3的對VMware(x86_64的)沙盒環境,並試圖通過終端使用這個命令就可以安裝Python-PIP:無法在SUSE

須藤在python-pip中使用zypper

我收到以下消息:Package'python-pip'not found。

我嘗試下載get-pip.py 它給了我後使用「蟒蛇get-pip.py」安裝這個點子:

找不到滿足要求PIP 沒有分佈在所有的任何下載找到點子

+0

,並檢查了在此相同的問題: [http://stackoverflow.com/questions/14860085/error-when -trying安裝的-PIP-上的opensuse] [1] [1]:http://stackoverflow.com/questions/14860085/error-when-trying-to-install-pip- on-opensuse – XoDiAK 2015-04-06 10:35:07

回答

0

實施例:

touch /etc/zypp/repos.d/devel_languages_python.repo 
cat <EOF> /etc/zypp/repos.d/devel_languages_python.repo 
[devel_languages_python] 
name=Python Modules (SLE_12_SP3) 
type=rpm-md 
baseurl=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_12_SP3/ 
gpgcheck=1 
gpgkey=http://download.opensuse.org/repositories/devel:/languages:/python/SLE_12_SP3/repodata/repomd.xml.key 
enabled=1 
EOF 
zypper ref 
# choose trust when asked for the signing key 
zypper in -y python-pip