Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/278.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 easy_install出现安装错误_Python_Pip_Easy Install - Fatal编程技术网

Python easy_install出现安装错误

Python easy_install出现安装错误,python,pip,easy-install,Python,Pip,Easy Install,当我运行以下命令时: PS C:\Python27\ArcGIS10.2\Scripts> .\easy_install python-nvd3 我收到以下错误: Searching for python-nvd3 Reading https://pypi.python.org/simple/python-nvd3/ Download error on https://pypi.python.org/simple/python-nvd3/: timed out -- Some packa

当我运行以下命令时:

PS C:\Python27\ArcGIS10.2\Scripts> .\easy_install python-nvd3
我收到以下错误:

Searching for python-nvd3
Reading https://pypi.python.org/simple/python-nvd3/
Download error on https://pypi.python.org/simple/python-nvd3/: timed out -- Some packages may not be found!
Couldn't find index page for 'python-nvd3' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: timed out -- Some packages may not be found!
No local packages or download links found for python-nvd3
error: Could not find suitable distribution for Requirement.parse('python-nvd3')
我严格按照库中的安装说明进行安装

请注意:我知道很多人会建议我使用pip而不是简易安装。不幸的是,我的工作电脑上似乎没有pip选项。我收到以下错误:

Searching for python-nvd3
Reading https://pypi.python.org/simple/python-nvd3/
Download error on https://pypi.python.org/simple/python-nvd3/: timed out -- Some packages may not be found!
Couldn't find index page for 'python-nvd3' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: timed out -- Some packages may not be found!
No local packages or download links found for python-nvd3
error: Could not find suitable distribution for Requirement.parse('python-nvd3')

到pypi.python.org的连接超时。

您也使用
轻松安装收到了相同的错误(“超时”)。看起来您的系统可能无法访问pypi网站。你能在同一个系统上加载浏览器吗?哇,真是太容易了!每个图书馆都有基于浏览器的下载方式吗?我可以通过访问pypi.python.org/simple/[library name]找到任何库所需的文件夹吗?我不知道为什么我的电脑上总是出现超时错误。我不是建议使用浏览器下载库…我只是好奇你是否能打开它。从理论上讲,如果你的浏览器能够访问该网页,安装工具也应该这样做,除非在你和世界其他地方之间有某种代理,只有你的浏览器知道……但要回答你的问题,当然
easy_install
pip
在http上运行,就像您的浏览器一样,因此您始终可以下载软件包并在本地安装。这就不那么方便了,您需要手动解析依赖项。我会努力让安装人员工作。也许这是我老板的防火墙问题?我知道安全设置很高。如果是这样,也许这是一个它可以帮助解决的问题。您也使用
easy\u install
收到了相同的错误(“超时”)。看起来您的系统可能无法访问pypi网站。你能在同一个系统上加载浏览器吗?哇,真是太容易了!每个图书馆都有基于浏览器的下载方式吗?我可以通过访问pypi.python.org/simple/[library name]找到任何库所需的文件夹吗?我不知道为什么我的电脑上总是出现超时错误。我不是建议使用浏览器下载库…我只是好奇你是否能打开它。从理论上讲,如果你的浏览器能够访问该网页,安装工具也应该这样做,除非在你和世界其他地方之间有某种代理,只有你的浏览器知道……但要回答你的问题,当然
easy_install
pip
在http上运行,就像您的浏览器一样,因此您始终可以下载软件包并在本地安装。这就不那么方便了,您需要手动解析依赖项。我会努力让安装人员工作。也许这是我老板的防火墙问题?我知道安全设置很高。如果是这样的话,也许这是一个可以帮助解决的问题。