Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 在pypi代理的后面;不工作下载链接“;运行setup.py_Python 3.x_Nexus_Setuptools - Fatal编程技术网

Python 3.x 在pypi代理的后面;不工作下载链接“;运行setup.py

Python 3.x 在pypi代理的后面;不工作下载链接“;运行setup.py,python-3.x,nexus,setuptools,Python 3.x,Nexus,Setuptools,我支持一家公司的pypi代理(nexus),我在easy_安装中很难获得依赖项解析。具体来说,python setup.py测试失败,因为没有“工作下载链接” 我在setup.cfg中配置了代理,如下所示: [easy_install] index-url = https://<hostname>/repository/<mirrorname>/simple index = https://<hostname>/repository/<mirrornam

我支持一家公司的pypi代理(nexus),我在easy_安装中很难获得依赖项解析。具体来说,
python setup.py测试失败,因为没有“工作下载链接”

我在setup.cfg中配置了代理,如下所示:

[easy_install]
index-url = https://<hostname>/repository/<mirrorname>/simple
index = https://<hostname>/repository/<mirrorname>/pypi
如果我将浏览器指向
https:///repository//simple/my-package/
我得到了一个基本的HTML页面,其中的链接如下:

Links for my-package
my-package-0.0.2-py3-none-any.whl
my-package-0.0.1-py3-none-any.whl
我找不到任何文档说明安装如何轻松地选择下载链接,这使得进一步调查变得困难

使用pip works安装相同的软件包。这就是我的
~/.config/pip/pip.conf
的样子:

[global]
index = https://<hostname>/repository/<mirrorname>/pypi
index-url = https://<hostname>/repository/<mirrorname>/simple
[全球]
索引=https:///repository//pypi
索引url=https:///repository//simple
我的Python版本是Python 3.6.0::Anaconda 4.3.1(64位)
(Linux)

[global]
index = https://<hostname>/repository/<mirrorname>/pypi
index-url = https://<hostname>/repository/<mirrorname>/simple