所以我尝试在CentOS上用yum:link安装Azure。在
但它总是告诉我它需要libpython2.7.1.0:
[root@minnow02 Desktop]# yum install azure-cli
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.sfo12.us.leaseweb.net
* extras: mirror.sfo12.us.leaseweb.net
* updates: mirror.sfo12.us.leaseweb.net
Resolving Dependencies
--> Running transaction check
---> Package azure-cli.x86_64 0:2.0.28-1.el7 will be installed
--> Processing Dependency: libpython2.7.so.1.0()(64bit) for package: azure-cli-2.0.28-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: azure-cli-2.0.28-1.el7.x86_64 (azure-cli)
Requires: libpython2.7.so.1.0()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
但我有python 2.7:
^{pr2}$[root@minnow02 Desktop]# python -V
[root@minnow02 Desktop]# find / -iname "pyth.so*"
/usr/lib/libpython2.7.so.1.0
/usr/lib/libpython2.7.so
/usr/lib/libpython2.7.so.1.0()(64bit)
/usr/local/python2.7/lib/libpython2.7.so.1.0
/usr/local/python2.7/lib/libpython2.7.so
/usr/local/python2.7/lib/libpython2.7.so.1.0()(64bit)
怎么回事?在
我已经用Centos 6.8和Centos 7.4测试过了,不能重现你的错误。在
请使用以下命令安装Azure CLI:
请试试。在
相关问题 更多 >
编程相关推荐