一周前我意识到我无法通过包控制安装任何新包。我尝试了一切,甚至重新安装 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
最佳答案
您可以在 ~/.config/sublime-text-3/Packages/User/Package Control.sublime-settings
中更改下载器的优先级。
"downloader_precedence":
{
"linux":
[
"urllib",
"curl",
"wget"
],
"osx":
[
"curl",
"urllib"
],
"windows":
[
"wininet"
]
},
将
urllib
更改为 curl
对我有用。关于ssl - Sublime text 3,包控制 - 无法安装包,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/40403474/