我已经在/usr/local/lib/python2.6/dist-packages/Crypto/上安装了pycrypto (2.3版),我可以在那里看到随机包。但当我尝试导入Crypto.Random时,它会让我大吃一惊ImportError: No module named Randomimport os
print
/site-packages/test-easy-install-21047.write-test'/usr/lib/python2.6:13:20: error: Python.h: No such file or directory
In file included from OpenSSL/crypto/crypto.h:17,‘init_cr
当我试图在python中导入M2Crypto时,会得到以下错误:ImportError: dlopen(/Users/armita/.python-eggs/M2Crypto-0.22.3-py2.7-macosx-10.9-intel.egg-tmp/M2Crypto/__m2crypto.so, 2): Symbol not found: _X509_free
我试图在Mint 12上安装python的M2Crypto。我已经执行了python setup.py构建,但是构建失败,声明前两行显示Python.h可能有问题:SWIG/_m2crypto_wrap.c:126:20: fatal error: Python.h: No such file or directory
compilation terminated