pip 安装过程中依赖处理
来源:互联网 发布:数据库建表工具 编辑:程序博客网 时间:2024/06/05 11:59
错误一:pip install M2Crypto 如下错误
copying M2Crypto/SSL/ssl_dispatcher.py -> build/lib.linux-x86_64-2.6/M2Crypto/SSL running build_ext building 'M2Crypto.__m2crypto' extension swigging SWIG/_m2crypto.i to SWIG/_m2crypto_wrap.c swig -python -I/usr/include/python2.6 -I/usr/include -I/usr/include/openssl -includeall -modern -D__x86_64__ -o SWIG/_m2crypto_wrap.c SWIG/_m2crypto.i SWIG/_m2crypto.i:30: Error: Unable to find 'openssl/opensslv.h' SWIG/_m2crypto.i:33: Error: Unable to find 'openssl/safestack.h' SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h' SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h' error: command 'swig' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip-build-3lUDcU/M2Crypto/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-eSjJaS-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-3lUDcU/M2Crypto
解决办法如下:
yum install openssl-devel
[root@localhost fuwo_web]# yum install openssl-develLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile * base: mirrors.skyshe.cn * epel: ftp.sjtu.edu.cn * extras: mirrors.pubyun.com * updates: mirror.bit.edu.cnSetting up Install ProcessResolving Dependencies--> Running transaction check
.0.3->-r requirements.txt (line 19))Installing collected packages: M2Crypto, torndb Running setup.py install for M2Crypto Running setup.py install for torndbSuccessfully installed M2Crypto-0.22.3 torndb-0.3
0 0
- pip 安装过程中依赖处理
- pip WINDOWS中安装配置过程
- windows下用pip安装paramiko------安装过程 依赖的模块pycrypto安装出了问题如何解决
- python安装pip简易过程
- centos中安装 pip
- ubuntu中安装 pip
- pip的安装以及在安装的过程中遇到的问题及解决方法
- CentOS中安装Python-PIP
- python中pip的安装
- python中pip安装软件
- Python中pip的安装
- window中安装pip教程
- Python2.7中安装pip
- windows中安装pip工具
- python2.7.6安装pip和scrapy过程
- ubuntu下安装pip, nltk过程
- Python初体验之pip安装的依赖
- pip下载安装包以及其依赖,到指定目录
- Valid Palindrome
- 自定义时间运算
- Ubuntu 下 Chmod 修改权限无效
- linux 终端无法显示图片
- 论网宿、蓝汛视频内容推送(预加载)对接优缺点比较
- pip 安装过程中依赖处理
- 如何实现thead固定不动,tbody出现垂直滚动条
- Mybates中使用定时器
- Android关于ListView中item与控件抢夺焦点的那些事
- Web开发者的最爱 5个超实用的HTML5 API
- 多选一按钮的一个解决方法
- kzalloc和kmalloc函数详解
- 各种实用的东东
- 软件构架设计的6大原则