我正在尝试在 ubuntu 上安装 PIL 一个 python 模块
我首先需要使用以下命令安装一个名为 python-imaging 的包
sudo apt-get build-dep python-imaging
Run Code Online (Sandbox Code Playgroud)
当我尝试这样做时,我收到错误
E: You must put some 'source' URIs in your sources.list
Run Code Online (Sandbox Code Playgroud)
我看到了这个问题 whihc 显示了如何通过 GUI 进行修复,但我使用的是命令行。有谁知道我如何解决这个错误..?
更新:根据以下答案,我更新了我的包裹列表,但现在出现此错误。不确定它是否相关,如果不是,我将开始一个新问题,因为我在任何地方都找不到对错误的引用。
E: Build-Depends dependency for python-imaging cannot be satisfied because candidate version of package python-all-dev can't satisfy version requirements
Run Code Online (Sandbox Code Playgroud) 我想获取一个项目的源代码,然后以与 apt 相同的方式构建它。例如,我想要工作源代码并且能够在源代码上运行“make”或类似的命令。
我怎样才能做到这一点?
具体来说,我想得到这个源“icedtea-6-jre-jamvm”