使用Pip在PAC脚本后面的代理

2024-09-24 06:32:37 发布

您现在位置:Python中文网/ 问答频道 /正文

我想用pip下载包,比如pandas,numpy,tensorflow,keras。由于我在公司网络连接下,我无法直接安装。我使用了stackoverflow的所有解决方案。。似乎什么都没有解决。在

当我使用这个chrome://net-internals/#proxy时,它没有给我任何代理服务器地址和端口号。相反,它给出了.PAC脚本

Effective proxy settings
PAC script: *****.pac
Source: SYSTEM

1)我使用了here中的溶液

^{pr2}$

它显示了这样的东西。在

主Dns后缀:公司名称.net在

当我尝试这个ping proxyhost它给出了

   C:\Users\user>ping proxyhost
    Ping request could not find host proxyhost. Please check the name and try again.

2)尝试过:http://www.whatismyproxy.com/它提供了一个ip地址,但没有端口地址

3)我尝试了Chrome>;“设置”>;“高级设置”>;“打开代理设置”: 我看到代理服务器没有勾选。地址栏为空,端口为80。在

在自动配置中,选中“使用自动配置脚本”并使用相同的PAC脚本PAC脚本:*****.PAC

4)尝试了这个netsh winhttp show proxy,它给出了

Current WinHTTP proxy settings: Direct access (no proxy server)

我现在该怎么办?我试了两天:(


Tags: pipgtnumpy脚本pandasnetsettings地址