小编Rob*_*agg的帖子

Python 3.7:将代理应用于pip安装的所有部分,但无法维护代理变量

我有以下问题,我正在使用命令

pip install pyinstaller --proxy=http://webdefence.global.blackspider.com:80 --trusted-host=pypi.python.org
Run Code Online (Sandbox Code Playgroud)

我的问题是在安装过程中未维护代理变量。尝试安装setuptools时,它不再具有代理地址。我尝试使用HTTP_PROXYHTTPS_PROXY在我的环境变量中没有运气。还有其他方法可以设置将通过pip安装维护的代理吗?

我曾使用-vvv产生更多错误详细信息-粘贴在 gist.github.com/blaggrob/19e7afcae2b4f1d36139fbf0a88a6651

Collecting pyinstaller
  Using cached https://files.pythonhosted.org/packages/03/32/0e0de593f129bf1d1e77eed562496d154ef4460fd5cecfd78612ef39a0cc/PyInstaller-3.4.tar.gz
  Installing build dependencies ... error
  Complete output from command c:\users\blaggr\appdata\local\programs\python\python37-32\scripts\python.exe -m pip install --ignore-installed --no-user --prefix C:\Users\blaggr\AppData\Local\Temp\pip-build-env-vd3w15r1 --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --trusted-host pypi.python.org -- setuptools wheel:
  Collecting setuptools
    Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)")': /simple/setuptools/
    Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read …
Run Code Online (Sandbox Code Playgroud)

python pip

3
推荐指数
2
解决办法
783
查看次数

如果自动过滤器已经打开,如何使用 if 语句将其关闭,否则关闭

我想要一些代码来关闭自动过滤器(如果当前已打开)。我似乎无法让它工作,也没有找到解决方案。

谢谢,

excel vba

2
推荐指数
1
解决办法
670
查看次数

标签 统计

excel ×1

pip ×1

python ×1

vba ×1