通过pip安装程序安装M2Crypto的问题

时间:2018-09-14 14:26:21

标签: python pip centos7 m2crypto

我正在尝试在CentOS 7服务器上安装M2Crypto,但是却收到一条错误消息,提示它找不到文件'pip-egg-info / M2Crypto.egg-info / SOURCES.txt'。目前,我正在运行Python版本2.7.5和pip版本18。

[root@Server tmp]# pip install m2crypto
Collecting m2crypto
  Using cached https://files.pythonhosted.org/packages/41/50/7d85dc99b1c4f29eca83873d851ec29a8e484a66b31351e62e30be9db7d1/M2Crypto-0.30.1.tar.gz
    Complete output from command python setup.py egg_info:
    running egg_info
    creating pip-egg-info/M2Crypto.egg-info
    writing requirements to pip-egg-info/M2Crypto.egg-info/requires.txt
    writing pip-egg-info/M2Crypto.egg-info/PKG-INFO
    writing top-level names to pip-egg-info/M2Crypto.egg-info/top_level.txt
    writing dependency_links to pip-egg-info/M2Crypto.egg-info/dependency_links.txt
    writing manifest file 'pip-egg-info/M2Crypto.egg-info/SOURCES.txt'
    error: No such file or directory

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-KW7GOG/m2crypto/
[root@Server tmp]#

我已尝试更新pip安装程序,setuptools和wheel,但这并不能解决问题。我已经使用“ yum install m2crypto”安装了M2Crypto,但是版本(我相信是0.21)没有运行脚本所需的密码。在解决此问题方面的任何帮助都将非常有用。

0 个答案:

没有答案