Python 3.7: Applying the proxy to all parts of pip installation, failing to maintain the proxy variable

前端 未结 1 1599
遇见更好的自我
遇见更好的自我 2021-02-10 19:15

I have the below problem, I am using command

pip install pyinstaller --proxy=http://webdefence.global.blackspider.com:80 --trusted-host=pypi.python.org
<         


        
1条回答
  •  臣服心动
    2021-02-10 19:40

    You may have run into a bug with the new PEP 518 support implementation, where the isolated build environment created to install build-time dependencies is lacking the necessary proxy configuration.

    You can bypass the new feature by using --no-build-isolation on the command line, by setting no-build-isolation=no in your configuration file or by setting the PIP_NO_BUILD_ISOLATION=no environment variable (yes, these last two options are counter-intuitive).

    This does require that setuptools and wheels then are already installed before you can install pyinstaller.

    I've filed a new issue with the pip project to track this, I don't believe it has been reported before.

    0 讨论(0)
提交回复
热议问题