安装m2crypto时出错(Centos 7.5.1804,Python 2.7.5,pip 8.1.2)

时间:2018-11-26 22:13:25

标签: python-2.7 pip centos7 m2crypto incapsula

我正在尝试在centos盒上安装m2crypto。我正在使用“ pip install m2crypto”来安装模块。以下是系统规格: -Centos 7.5.1804 -python 2.7.5 -点8.1.2 -点冻结输出:

[username@server01 ~]$ pip freeze
backports.ssl-match-hostname==3.5.0.1
chardet==2.2.1
configobj==4.7.2
decorator==3.4.0
iniparse==0.4
ipaddress==1.0.16
kitchen==1.1.1
loggerglue==1.0
perf==0.1
pycurl==7.19.0
pygobject==3.22.0
pygpgme==0.3
pyliblzma==0.5.3
pyparsing==2.3.0
python-linux-procfs==0.4.9
pyudev==0.15
pyxattr==0.5.1
schedutils==0.4
slip==0.4.0
slip.dbus==0.4.0
urlgrabber==3.10
yum-metadata-parser==1.1.4
You are using pip version 8.1.2, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

以下是输出:

[username@server01 ~]$ pip install m2crypto
    Collecting m2crypto
Using cached https://files.pythonhosted.org/packages/0a/d3/ecef6a0eaef77448deb6c9768af936fec71c0c4b42af983699cfa1499962/M2Crypto-0.31.0.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'
    warning: manifest_maker: standard file '-c' not found

    error: No such file or directory

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/tmp/pip-build-HLsawZ/m2crypto/
You are using pip version 8.1.2, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

任何帮助都将受到赞赏。这就是使imperva / incapsula-log-downloader正常工作的全部方法:https://github.com/imperva/incapsula-logs-downloader

0 个答案:

没有答案