当前位置:网站首页>Resolution of PIP installation dependency failure
Resolution of PIP installation dependency failure
2022-07-20 11:01:00 【stiga-huang】
A new one has been built. virtual env, An error occurs when installing the dependency of a project :
$ pip install -r requirements.txt
Collecting setuptools==3.4.4 (from -r requirements.txt (line 1))
Could not fetch URL https://pypi.python.org/simple/setuptools/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement setuptools==3.4.4 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for setuptools==3.4.4 (from -r requirements.txt (line 1))
my pip Version or 9.0.1, Upgrade to the latest version to solve . But there is another problem when upgrading :
$ pip install --upgrade pip
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Requirement already up-to-date: pip in /Users/quanlong.huang/workspace/flask/hawkeye-web/lib/python2.7/site-packages
You can download directly instead get-pip.py And install :
$ wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
$ python2 get-pip.py
边栏推荐
猜你喜欢
随机推荐
jmeter项目实战:beanshell对获取结果进行处理64base处理
playwright教程 (一)适合小白
.NET下IN关键字下多个并列参数的参数化
关于函数的一些小总结
flex布局简介
6 jours
Solve the error: do not access object prototype method ‘hasOwnProperty‘ from target object no
GC tuning principle of JVM (6)
预计iPhone14获中国消费者热捧,苹果和富士康给中国员工发钱,最高近万元
How can 3dslicer extension modules be added to external expansion packages?
JS操作属性和样式及事件
Implementation of UART serial asynchronous communication with FPGA - transmission of single data
7day
flex布局
FPGA之实现UART串行异步通信-单个数据的发送
FPGA之使用matlab生成四种波形的mif文件
Comparator排序的坑
Apache Impala 4.1概览
管理学重要知识点总结
解决报错:Do not access Object.prototype method ‘hasOwnProperty‘ from target object no