按分类归档:Python

python版本问题导致pip install出现证书错误问题

在python下执行pip install,报错: $ ./pip install pyopenssl ndg-httpsclient pyasn1 Collecting pyopenssl Could not fetch URL https://pypi.python.org/simple/pyopenssl/: There was a problem confirming the ssl certificate: [Errno 1] _ssl.c:499: error:1407742E:SSL routines:SSL23_GET_SERVER_H ELLO:tlsv1 alert protocol version – skipping C:\Python27\lib\site-packages\pip-9.0.1-py2.7.egg\pip\_vendor\requests\packages\urllib3\util\ssl_.py:318: SNIMissingWarning: An HTTPS request has … 继续阅读

评论关闭

windows下安装pip

1、安装setuptools 官网:https://pypi.python.org/pypi/setuptools#downloads 下载以后,解压。 C:\Python27\setuptools-38.4.0>python setup.py install 2、安装pip 官网:https://pypi.python.org/pypi/pip/ 下载以后,解压。 C:\Python27\pip-9.0.1>python setup.py install 然后就可以安装模块了 C:\Users\Administrator>c:\Python27\Scripts\pip.exe install paramiko

评论关闭