V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
SekiBetu
V2EX  ›  Python

Python 已经修复了在 windows 上的系统代理注册表错误 BUG

  •  
  •   SekiBetu ·
    SekiBetu · 2022-05-14 02:03:36 +08:00 · 2681 次点击
    这是一个创建于 685 天前的主题,其中的信息可能已经有所发展或是发生改变。
    8 条回复    2022-05-16 15:26:46 +08:00
    bigtear
        1
    bigtear  
       2022-05-14 09:08:41 +08:00
    好耶
    kokutou
        2
    kokutou  
       2022-05-14 09:27:22 +08:00
    好耶
    kokutou
        3
    kokutou  
       2022-05-14 09:28:41 +08:00
    虽然我已经做了个 bat 丢到了 C:\Users\%username% 下面.
    p1.bat
    ```
    @echo off
    set http_proxy=http://127.0.0.1:1080
    set https_proxy=http://127.0.0.1:1080
    echo %http_proxy%
    echo %https_proxy%
    ```

    每回装东西就先 p1,然后 pip
    bthulu
        4
    bthulu  
       2022-05-14 09:31:44 +08:00
    给你修就不错了, windows 用户没资格挑三拣四
    ahhui
        5
    ahhui  
       2022-05-14 12:13:39 +08:00
    @kokutou pip 不是自带 --proxy 参数么? --proxy http://127.0.0.1:1080
    Kisesy
        6
    Kisesy  
       2022-05-14 22:22:56 +08:00
    泪目,一直以为是 urllib3 的问题...
    uni
        7
    uni  
       2022-05-15 12:15:42 +08:00
    就是这个玩意,搞得我现在已经习惯性地在 pip 之前手动关代理了
    raycool
        8
    raycool  
       2022-05-16 15:26:46 +08:00
    原来这个是 bug
    一直以为是代理软件的问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5825 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 06:14 · PVG 14:14 · LAX 23:14 · JFK 02:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.