连接hugging_face失败的一种可能解决方案
服务器上已经翻墙了,但是仍报一些ssl的错无法login hugging_face,最后如下这样操作就好了。这样就可以连接上hugging_face 了!
·
服务器上已经翻墙了,但是仍报一些ssl的错无法login hugging_face,最后如下这样操作就好了。
import os
os.environ['CURL_CA_BUNDLE'] = ''
os.environ["http_proxy"] = "http://127.0.0.1:7890"
os.environ["https_proxy"] = "http://127.0.0.1:7890"
这样就可以连接上hugging_face 了!
更多推荐
所有评论(0)