Sublime Text 安装插件报错:
Package Control
Unable to download XXX. Please view the console for more details.
解决方法:
Preferences 》Package Settings 》 Package Control 》 Settings - User
增加如下内容:
"debug": true,
"downloader_precedence":
{
"linux": [ "curl", "urllib", "wget" ],
"osx": [ "curl", "urllib" ],
"windows": [ "wininet" ]
},
最终内容如下:
{
"bootstrapped": true,
"debug": true,
"installed_packages":
[
"Package Control"
],
"downloader_precedence":
{
"linux": [ "curl", "urllib", "wget" ],
"osx": [ "curl", "urllib" ],
"windows": [ "wininet" ]
},
}
再次安装插件就没问题了。
鸣谢:
Sublime安装及解决There are no packages available for installation
Mac sublime 安装包的时候出现 unable to download xxx
CERTIFICATE_VERIFY_FAILED on macOS Sierra Beta