1

尝试在Sublime Text 3上安装Git​Gutter时,我在控制台中得到以下信息:

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  

我已经从这个链接下载了所需的依赖项作为一个.zip文件,现在它在我的Downloads文件夹 中下一步是什么,我应该将该文件放在哪里以便手动安装。PS:我正在使用 Ubuntu 18.04 并计划使用 sublime 进行 Python 开发。
在此处输入图像描述
markupsafe

4

1 回答 1

0

对于像我这样未来来到这里的人来说,Github 上有几个关于这个的问题,关键是 Github 有问题并且Package Control导致了这个。

他们在这里被跟踪:https ://github.com/wbond/package_control/issues/1334

对我有用的一种可能的修复方法是更新 Package Control 的用户设置并添加以下行:

"downloader_precedence":  
{  
    "linux": [ "curl","wget","urllib"],  
    "osx":   ["curl","wget","urllib"]  
}
于 2019-06-27T19:52:10.963 回答