Error
The complete console error messsage is something like this:
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)))wnloading package. Htto exception InvalidCertificateExceptio
Solution
In Sublime Text 2, go to: Preferences->Package Settings->Package Control->Settings-Default,
Here, change:
“downloader_precedence”: {
“windows”: [“wininet”],
“osx”: [“urllib”],
“linux”: [“urllib”, “curl”, “wget”]
},
To:
“downloader_precedence”: {
“windows”: [“wininet”],
“osx”: [“curl”, “urllib”],
“linux”: [“urllib”, “curl”, “wget”]
},
Installing the Python urllib will probably also solve the problem, but it might brings up new questions like: Which Python version? Is urllib in the Sublime Text search path…
Then changing the preferred downloader to curl is easier.
Credits go to LandisTwo
Leave a Reply