尝试安装时 GitGutter在 Sublime Text 3 ,我在控制台中得到以下信息:
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
我已经从this link下载了需要的依赖作为 .zip
文件,现在它在我的 Downloads
文件夹中
接下来的步骤是什么?我应该将该文件放在哪里以便手动安装 markupsafe
。
P.S:我正在使用 Ubuntu 18.04 并计划使用 sublime 进行 Python 开发。
最佳答案
对于以后像我这样的人来说,Githib 上有几个关于这方面的问题,关键是 Github 和 Package Control
有问题导致了这个。
他们在这里被追踪:https://github.com/wbond/package_control/issues/1334
对我有用的一个可能的修复方法是更新 Package Control 的用户设置并添加以下行:
"downloader_precedence":
{
"linux": [ "curl","wget","urllib"],
"osx": ["curl","wget","urllib"]
}
关于python - 包控制 : The dependency 'markupsafe' is not currently installed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52187919/