mno*_*tka 7 python pip virtualenv easy-install
我是一个快乐的人,拥有自己快乐的本地点数指数.有一天我更新了pip客户端,我不再高兴了:
Downloading/unpacking super_package
Getting page https://my_server/index/super_package/
URLs to search for versions for super_package:
* https://my_server/index/super_package/
* https://pypi.python.org/simple/super_package/
Analyzing links from page https://my_server/index/super_package/
Skipping https://my_server/ci/super_package-0.2.2.tar.gz (from https://my_server/index/super_package/) because it is an insecure and unverifiable file.
Run Code Online (Sandbox Code Playgroud)
但为什么?我在服务器上启用了SSL,我的pip.conf文件如下所示:
[global]
cert = /path/to/my_server/cert.pem
index-url = https://my_server/index
extra-index-url = https://pypi.python.org/simple/
Run Code Online (Sandbox Code Playgroud)
如何定义"安全可验证"/"不安全和无法核实"的文件?PIP如何区分它们?
最后:你想让我切换到easy_install吗?
编辑:
我自己的PIP索引如下所示:
<html>
<head>
<title>Package Index</title>
<meta name="api-version" value="2" />
</head>
<body><a href="ADMESARfari/index.html">ADMESARfari</a><br/>
<a href="chembl-internal-ws/index.html">chembl-internal-ws</a><br/>
<a href="chembl_api/index.html">chembl_api</a><br/>
...
<a href="gdb/index.html">gdb</a><br/>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
PIP服务器的CA证书安装在我的Mac上,但我仍然遇到同样的问题......

| 归档时间: |
|
| 查看次数: |
464 次 |
| 最近记录: |