我刚刚运行了"pip install -U steem"命令,安装工作正常,直到它无法安装pycrypto.之后我做了"pip install cryptography"命令,因为我认为它是缺少的包.所以我的问题是,如何在没有pycrypto-error(或者另外还有pycrypto-package)的情况下安装steem,以及如何卸载我不需要的cryptography-Package.(我使用的是Windows 7和Python 3)
Requirement already up-to-date: python-dateutil in c:\users\***\appdata\lo
cal\programs\python\python36\lib\site-packages (from dateparser->maya->steem)
Collecting regex (from dateparser->maya->steem)
Downloading regex-2017.06.23-cp36-none-win_amd64.whl (245kB)
100% |????????????????????????????????| 245kB 499kB/s
Collecting pytzdata (from pendulum->maya->steem)
Downloading pytzdata-2017.2-py2.py3-none-any.whl (462kB)
100% |????????????????????????????????| 471kB 965kB/s
Installing collected packages: urllib3, idna, chardet, certifi, requests, pycryp
to, funcy, w3lib, voluptuous, diff-match-patch, scrypt, prettytable, appdirs, la
ngdetect, ruamel.yaml, humanize, tzlocal, regex, dateparser, pytzdata, pendulum,
maya, ecdsa, pylibscrypt, ujson, toolz, steem
Running setup.py install for pycrypto ... error
Complete output …Run Code Online (Sandbox Code Playgroud) 这尤其在 RHEL 上发生 已经安装了这个包 yum install libxml2-devel xmlsec1-devel xmlsec1-openssl-devel libtool-ltdl-devel
Could not find xmlsec1 config. Are libxmlsec1-dev and pkg-config installed
Command "/usr/local/pyenv/versions/3.6.5/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-ucm4xpg5/xmlsec/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-gr0ttbdf/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-ucm4xpg5/xmlsec/
Run Code Online (Sandbox Code Playgroud)
为什么我收到此错误即使我安装了所需的软件包