在虚拟环境中,安装程序报错:Could not install packages due to an EnvironmentError: Missing dependencies for SOCK

解决的参考:https://stackoverflow.com/questions/38794015/pythons-requests-missing-dependencies-for-socks-support-when-using-socks5-fro

比如安装:requests

首先执行:unset all_proxy && unset ALL_PROXY

然后执行:pip install requests[socks]


猜你喜欢

转载自blog.csdn.net/Action1024/article/details/80986406