我在Windows 7 64bit上使用sublime text2。并且我成功安装了包控件,然后我使用了ctrl + alt + P而我输入了:install package,然后我收到了错误。
Package Control: Error downloading channel.
URL error [Errno 10060] A connection attempt failed
because the connected party did not properly respond after a period of time,
or established connection failed
because connected host has failed to respond downloading https://sublime.wbond.net/repositories.json.
error: Package Control: There are no packages available for installation.
似乎我无法访问服务器,是否需要设置代理或进行一些网络设置?
答案 0 :(得分:1)
是的,只需在http_proxy
中设置https_proxy
和Package Control Settings
个变量即可。存根已经给出了。格式应如下,
http://username:password@proxyHost:proxyPort
和
https://username:password@proxyHost:proxyPort
username:password
位是可选的。