Python's requests “Missing dependencies for SOCKS support” when using SOCKS5 from Terminal

后端 未结 14 981
南笙
南笙 2020-12-12 20:36

I\'m trying to interact with an API from my Python 2.7 shell using a package that relies on Python\'s requests. Thing is the remote address is blocked by my network (univers

14条回答
  •  無奈伤痛
    2020-12-12 21:24

    My environment is Ubuntu 16.4 LTS and Python3.5.2 I use pip3 to install libs got the same issue. so I use the command unset ALL_PROXY to solve this problem and it works.

    PS: use printenv | grep -i proxy to show the proxy info.

提交回复
热议问题