简体   繁体   中英

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

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
在此处输入图片说明
What are the next steps and where should I place that file in order to have markupsafe manually installed.
PS: I am using Ubuntu 18.04 and planning to use sublime for Python developement.

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"]  
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM