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"

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

原文地址:https://www.cnblogs.com/DLarTisan/p/11747375.html