在虚拟环境中,安装程序报错: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]


你可能感兴趣的:(在虚拟环境中,安装程序报错:Could not install packages due to an EnvironmentError: Missing dependencies for SOCK)