gpt4 book ai didi

python - 包控制 : The dependency 'markupsafe' is not currently installed

转载 作者:太空宇宙 更新时间:2023-11-03 17:05:51 24 4
gpt4 key购买 nike

尝试安装时 Git​GutterSublime 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 文件夹中
enter image description here
接下来的步骤是什么?我应该将该文件放在哪里以便手动安装 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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com