Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sqlite/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从源代码安装Python 3.1.2时,如何解决sqlite3开发人员依赖关系?_Python_Sqlite_Makefile_Gnu_Ubuntu 9.04 - Fatal编程技术网

从源代码安装Python 3.1.2时,如何解决sqlite3开发人员依赖关系?

从源代码安装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-

运行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-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放在了存储库中