簡體   English   中英

程序包控制:依賴項“ markupsafe”當前未安裝

[英]Package Control: The dependency 'markupsafe' is not currently installed

嘗試在Sublime Text 3上安裝GitGutter時,我在控制台中得到以下內容:

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 ,現在位於“ Downloads文件夾中
在此處輸入圖片說明
下一步是什么,我應該在哪里放置該文件,以便手動安裝markupsafe
PS:我正在使用Ubuntu 18.04,並計划使用sublime進行Python開發。

對於將來像我這樣來到這里的人們,在Githib上有幾個與此有關的問題,他們的症結在於Github和Package Control存在問題。

它們在這里被跟蹤: https : //github.com/wbond/package_control/issues/1334

對我有用的一種可能的修復是更新程序包控制的用戶設置並添加以下行:

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM