我在一周前意识到我无法通过Package Control安装任何新软件包。我尝试了一切甚至重新安装sublime,同时清理所有文件/库/应用程序支持/一切。仍然是同样的问题。有什么想法吗?
ignored packages updated to: ["Emmet", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Error downloading package. HTTP exception InvalidCertificateException (Host codeload.github.com returned an invalid certificate ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:548))) downloading https://codeload.github.com/sergeche/emmet-sublime/zip/master.
error: Package Control
Unable to download Emmet. Please view the console for more details.
ignored packages updated to: ["Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
答案 0 :(得分:5)
您可以在~/.config/sublime-text-3/Packages/User/Package Control.sublime-settings
中更改下载程序的优先级。
"downloader_precedence":
{
"linux":
[
"urllib",
"curl",
"wget"
],
"osx":
[
"curl",
"urllib"
],
"windows":
[
"wininet"
]
},
将urllib
更改为curl
对我有用。
答案 1 :(得分:2)
对于OSX:
bhanu的答案是正确的,但是我的“包装控制设置-用户”文件不在该确切位置。更一般的说明:
Package Control Settings
downloader_precedence
"urllib"
:"downloader_precedence": {
"windows": ["wininet"],
"osx": ["urllib"],
"linux": ["urllib", "curl", "wget"]
},
"curl"
成为第一个osx下载器:"downloader_precedence": {
"windows": ["wininet"],
"osx": ["curl", "urllib"],
"linux": ["urllib", "curl", "wget"]
},