Package Control: The dependency 'markupsafe' is not currently installed

1.4k Views Asked by At

While trying to install Git​Gutter on Sublime Text 3, I get the following in Console:

ignored packages updated to: ["GitGutter", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: The dependency 'markupsafe' is not currently installed; installing...
Package Control: Error downloading package. HTTP exception BadStatusLine ('') downloading https://bitbucket.org/teddy_beer_maniac/sublime-text-dependency-markupsafe/get/0.23.0.zip.
error: Package Control

Unable to download markupsafe. Please view the console for more details.
Package Control: The dependency 'markupsafe' could not be installed or updated
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  

I have downloaded the dependency needed from this link as a .zip file and now that is in my Downloads folder
enter image description here
What are the next steps and where should I place that file in order to have markupsafe manually installed.
P.S: I am using Ubuntu 18.04 and planning to use sublime for Python developement.

1

There are 1 best solutions below

0
Yuvraj Jaiswal On

For the people like me coming here in the future, there are several issues on Githib regarding this, the crux of them being that there was a problem with Github and Package Control which caused this.

They are being tracked here: https://github.com/wbond/package_control/issues/1334

One possible fix that worked for me was to update the user settings of Package Control and add the following lines:

"downloader_precedence":  
{  
    "linux": [ "curl","wget","urllib"],  
    "osx":   ["curl","wget","urllib"]  
}