如何配置让pyenv使用代理(Windows)

根据官方文档,只需要在系统的环境变量中设置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/

posted @ 2024-01-18 10:07  ComputerPlayerJs  阅读(541)  评论(0)    收藏  举报
相关博文:
阅读排行:
· 【Cursor保姆级教程】零基础小白从安装到实战,手把手教你玩转AI编程神器!
· MySQL查询执行顺序:一张图看懂SQL是如何工作的
· Cursor 实战万字经验分享,与 AI 编码的深度思考
· 工作流引擎系统-基于橙单(flowable)的系统开发-流程配置举例
· 用 AI 制作超长视频,保姆级教程!
点击右上角即可分享
微信分享提示