直接安装: pip install pycryptodome; 但是,在使用的时候导包是有问题的,这个时候只要修改一个文件夹的名称就可以完美解决这个问题: Python\Python36\Lib\site-packages找到这个路径,下面有一个文件夹叫做crypto,将c改成C,改成大写 分类:python 2.pip安装失败 ERROR: Exception: Traceback (most recent call last)...
pipinstallM2Crypto 1. 报错信息: swig-python-I/usr/local/include/python2.7 -I/usr/include-includeall-oSWIG/_m2crypto_wrap.c SWIG/_m2crypto.i /usr/include/openssl/opensslconf.h:31: Error: CPP#error ""This openssl-devel package does not work your architecture?"". Use the -cpperraswarn o...
Command"/usr/local/bin/python -c "importsetuptools, tokenize;__file__='/tmp/pip-build-_WW9OZ/M2Crypto/setup.py';exec(compile(getattr(tokenize,'open',open)(__file__).read().replace('\r\n','\n'), __file__,'exec'))"install--r 或者报错: 1 2 3 4 5 swigging SWIG/_m2crypto...