Giter Club home page Giter Club logo

Comments (6)

Justin-Young avatar Justin-Young commented on May 17, 2024 1

使用http源加--trusted-host选项(注意,此法对https无效)
pip install --trusted-host pypi.douban.com -i http://pypi.douban.com/simple package_name
pip install --trusted-host mirrors.aliyun.com -i http://mirrors.aliyun.com/pypi/simple package_name

from dev-sidecar.

xinghui233 avatar xinghui233 commented on May 17, 2024 1

这个似乎是其实python的问题 我在用其他代理软件时也经常发生
因为这些代理软件都是通过设置系统代理实现的 所以默认的https代理是https://127.0.0.1
但其实系统自带的代理服务器只支持http 所以不管代理软件是直连还是规则 都会发生报错
目前我已知的能走代理的办法有
1.走http源
2.在系统里添加HTTPS_PROXY变量 值为http://yourproxy:port
3.使用pip install -–proxy yourproxy:port module
4.在powershell中使用$env:HTTPS_PROXY="http://yourproxy:port" 或 cmd中使用 set HTTPS_PROXY="http://yourproxy:port" 手动添加环境变量

这些实际操作起来都很麻烦 所以其实我一般都是暂时关闭系统代理的

from dev-sidecar.

greper avatar greper commented on May 17, 2024 1

1.7.0已支持

from dev-sidecar.

winsphinx avatar winsphinx commented on May 17, 2024

我也一直有这个问题,上个图

image

from dev-sidecar.

winsphinx avatar winsphinx commented on May 17, 2024

能不能加速倒在其次,怎么能先旁路?或是白名单?

from dev-sidecar.

greper avatar greper commented on May 17, 2024

两种方式:
1、可以把pac关掉
2、加白名单,#25

from dev-sidecar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.