Sublime Text 解决 Unable to download XXX 问题

Sublime Text 安装插件报错:

Package Control

Unable to download XXX. Please view the console for more details.

解决方法:

Preferences 》Package Settings 》 Package Control 》 Settings - User

 
image

增加如下内容:

"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



作者:v1coder
链接:https://www.jianshu.com/p/ebf3f39b37ca
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。

猜你喜欢

转载自www.cnblogs.com/exmyth/p/11343830.html