我正在使用带有
Python 2.7(通过PythonBrew脚本安装)的CentOS 6.4服务器
我通过’yum install gmp’安装gmp
和python-devel安装通过’yum安装python-devel'(但它是为python 2.6系列)
我试图在我的服务器上安装pycrypto,但它是给我的
warning: GMP or MPIR library not found; Not building Crypto.PublickKey._fastmath
有没有办法让点’识别’我的gmp安装?
感谢:D
尝试在Centos 6.4系统级使用pip安装Fabric时遇到上述错误. (Fabric使用pycrypto).
warning: GMP or MPIR library not found; Not building Crypto.PublickKey._fastmath
这是我如何工作的:
yum install gmp-devel sudo pip uninstall ecdsa pycrypto paramiko fabric # clear out the pip build dirs rm -rf /tmp/pip-* # make sure the directory containing libgmp.so.3 is on the python path export LD_LIBRARY_PATH="/usr/lib64:$LD_LIBRARY_PATH" pip install fabric
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。