推荐学习书目
› 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
zoranz
V2EX  ›  Python

求助 Win 平台 vpn 在 pycharm 运行不同不同包代理异常

  •  
  •   zoranz · Apr 20, 2022 · 1464 views
    This topic created in 1620 days ago, the information mentioned may be changed or developed.

    如题 使用 requests 访问翻墙 https 无问题 使用 aiohttp 会报错 ssl 信号灯连接超时

    zoranz
        1
    zoranz  
    OP
       Apr 21, 2022
    已解决 问题:aiohttp 在全局代理模式下无法访问墙外的网址,而 requests 可以
    aiohttp 不支持 https 代理,无论访问的网址是 http 还是 https ,使用代理是字符串 proxy='http://127.0.0.1:10080'
    解决方案为:https://blog.csdn.net/lwdfzr/article/details/105426686(转载侵删)
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1076 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 23:37 · PVG 07:37 · LAX 16:37 · JFK 19:37
    ♥ Do have faith in what you're doing.