根据官方文档,只需要在系统的环境变量中设置http_proxy和https_proxy.
Question: How do I configure my company proxy in pyenv for windows?
Answer: Set the http_proxy or https_proxy environment variable with the hostname or IP address of the proxy server in URL format, for example: http://username:password@hostname:port/ or http://hostname:port/
变量的值的格式如下:http://username:password@hostname:port/ 或 http://hostname:port/
标签:http,Windows,hostname,代理,pyenv,proxy,https,port From: https://www.cnblogs.com/ComputerPlayerJs/p/17971898