24小时热门版块排行榜    

查看: 1555  |  回复: 0

deepbluezq

新虫 (初入文坛)

[求助] 有关python及pip命令安装.py软件时遇到的问题!

在使用pip命令时出现以下提示:

[zhangq@mu01 MAPP]$ pip install setup.py
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting setup.py
  Could not fetch URL https://pypi.python.org/simple/setup-py/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
  Could not find a version that satisfies the requirement setup.py (from versions: )
No matching distribution found for setup.py

我搜索百度,很多人的帖子说是少了devel文件,但是我的系统是有的。
[zhangq@mu01 MAPP]$ rpm -aq|grep openssl
openssl097a-0.9.7a-9.el5_2.1
openssl097a-0.9.7a-9.el5_2.1
openssl-0.9.8e-12.el5_4.6
openssl-0.9.8e-12.el5_4.6
openssl-devel-0.9.8e-12.el5_4.6
openssl-devel-0.9.8e-12.el5_4.6

在使用python setup.py install 来安装setup.py软件时,有如下错误:
[zhangq@mu01 mapp4py-master]$ python setup.py.linux install
running install
running build
running build_ext
building 'mapp' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
icpc -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/Python3/lib/python3.6/site-packages/numpy-1.13.0-py3.6-linux-x86_64.egg/numpy/core/include -I/opt/openmpi-intel/include -I/usr/local/Python3/include/python3.6m -c src/min_l-bfgs_dmd.cpp -o build/temp.linux-x86_64-3.6/src/min_l-bfgs_dmd.o -std=c++11 -O3
icpc: command line warning #10006: ignoring unknown option '-fwrapv'
src/var.h(8): catastrophic error: cannot open source file "mpi.h"
  #include <mpi.h>
                  ^

compilation aborted for src/min_l-bfgs_dmd.cpp (code 4)
error: command 'icpc' failed with exit status 4
请教大神,这个问题怎么解决,非常着急,请赐教 ~~

回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 deepbluezq 的主题更新
信息提示
请填处理意见