ValueError: Unable to determine SOCKS version from socks://127.0.0.1:1080/

使用ss之后输入conda指令出现错误:“ValueError: Unable to determine SOCKS version from socks://127.0.0.1:1080/”。

解决方法:

在终端中输入

unset all_proxy && unset ALL_PROXY
export all_proxy="socks5://127.0.0.1:1080"

这只能在当前终端的使用中有效,重新打开的终端中仍然会有错误。

posted @ 2019-10-27 14:12  Runtime69  阅读(5580)  评论(0编辑  收藏  举报