内网访问外网时,需要通过vpn访问,但是pip貌似不能是用vpn访问外网。直接度娘:

windows下:

set http_proxy=http://代理服务器:端口

不行可以试试下面的:

set https_proxy=http://代理服务器:端口

Linux下用export替换set

相关文章:

  • 2022-01-20
  • 2021-12-06
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-02
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2021-12-22
  • 2022-02-28
  • 2021-07-30
相关资源
相似解决方案