search

Home  >  Q&A  >  body text

linux - centos 7 下用 yum install 命令安装python依赖包,一直提示“没有可用软件包”?

1. 在centos 7 系统下安装python的依赖包:tops-python27,tops-python27-simplejson与tops-python27-requests,但是一直提示“没有可用软件包”?
其他:
1.1 安装命令:sudo yum install 软件包名
1.2 用的yum源是163的
1.3 python版本是2.7.5(没有独立安装,centos下载了DVD版,默认自带了)

  1. 截图:

黄舟黄舟2803 days ago1277

reply all(2)I'll reply

  • 黄舟

    黄舟2017-04-18 09:45:46

    It is recommended to use pip to install python dependency packages.

    For example:

    pip install requests

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:45:46

    Are you sure you have the tops-python27 package? This package was not found online

    reply
    0
  • Cancelreply