从源代码安装Python 3.1.2时,如何解决sqlite3开发人员依赖关系?
运行Ubuntu9.04“jaunty” 当我运行make时,出现以下错误:从源代码安装Python 3.1.2时,如何解决sqlite3开发人员依赖关系?,python,sqlite,makefile,gnu,ubuntu-9.04,Python,Sqlite,Makefile,Gnu,Ubuntu 9.04,运行Ubuntu9.04“jaunty” 当我运行make时,出现以下错误: Python build finished, but the necessary bits to build these modules were not found: _sqlite3 The following packages have unmet dependencies: libsqlite3-dev: Depends: libsqlite3-0 (= 3.6.10-1) but 3.6.10-
Python build finished, but the necessary bits to build these modules were not found:
_sqlite3
The following packages have unmet dependencies:
libsqlite3-dev: Depends: libsqlite3-0 (= 3.6.10-1) but 3.6.10-1ubuntu0.2 is to be installed
E: Broken packages
因此,简单的解决方案是使用apt-get“sudo-apt-get-f install libsqlite3-dev”安装缺少的依赖项,但我得到以下错误:
Python build finished, but the necessary bits to build these modules were not found:
_sqlite3
The following packages have unmet dependencies:
libsqlite3-dev: Depends: libsqlite3-0 (= 3.6.10-1) but 3.6.10-1ubuntu0.2 is to be installed
E: Broken packages
我尝试卸载“libsqlite3-0”,但synaptic说很多东西都需要它(50+)
所以现在我被卡住了。我无法安装缺少的依赖项。因此,我无法安装python 3.1.2
关于如何修复丢失的libsqlite3开发依赖项有什么想法吗?该错误消息中的依赖项不匹配与官方意见不一致。(Jaunty中libsqlite3 dev的官方版本取决于
libsqlite3-0(=3.6.10-1ubuntu0.2)
)也许您上次的apt get update
是在repo仍在更新时完成的,并且只有一些最新的包可用
运行sudo apt get update
后重试,可能首先切换到其他apt服务器。(您可以使用软件源系统管理工具在Ubuntu GUI中执行此操作。)
或者,如果您不想手工构建和安装Python,可以将Ubuntu升级到最新版本。Lucid已经将Python 3.1.2作为python3放在了存储库中。该错误消息中的依赖项不匹配与官方声明不符。(Jaunty中libsqlite3 dev的官方版本取决于
libsqlite3-0(=3.6.10-1ubuntu0.2)
)也许您上次的apt get update
是在repo仍在更新时完成的,并且只有一些最新的包可用
运行sudo apt get update
后重试,可能首先切换到其他apt服务器。(您可以使用软件源系统管理工具在Ubuntu GUI中执行此操作。)
或者,如果您不想手工构建和安装Python,可以将Ubuntu升级到最新版本。Lucid已经将Python 3.1.2作为Python 3放在了存储库中