12.04找不到python-dev

软件和网站开发以及相关技术探讨
回复
t-keeper
帖子: 5
注册时间: 2013-03-03 14:57
系统: 64bit-ubuntu-12.04

12.04找不到python-dev

#1

帖子 t-keeper » 2013-03-26 22:10

如题
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 12.04找不到python-dev

#2

帖子 YeLee » 2013-03-27 9:56

还是检查一下源列表吧。
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
头像
qy117121
论坛版主
帖子: 50528
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 12.04找不到python-dev

#3

帖子 qy117121 » 2013-03-27 10:32

as python-dev
* libboost-mpi-python-dev -> C++ interface to the Message Passing Interface (MPI), Python Bindings (default version)
(<无>/1.49.0.1)
* libboost-python-dev -> Boost.Python Library development files (default version)
(<无>/1.49.0.1)
* libroot-bindings-python-dev -> Python extension for ROOT - development files
(<无>/5.34.00-1ubuntu1)
* python-dev -> header files and a static library for Python (default)
(<无>/2.7.3-0ubuntu7)

12.10
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用

邮箱 chuan@ubuntu.org.cn
头像
qy117121
论坛版主
帖子: 50528
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 12.04找不到python-dev

#4

帖子 qy117121 » 2013-03-27 10:32

YeLee 写了:还是检查一下源列表吧。
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用

邮箱 chuan@ubuntu.org.cn
头像
amazingp35
帖子: 26
注册时间: 2009-02-19 10:30
联系:

Re: 12.04找不到python-dev

#5

帖子 amazingp35 » 2013-03-28 8:24

add new site: http://pydev.org/updates

pending...

pydev

Done!
rApe|NB
头像
qy117121
论坛版主
帖子: 50528
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 12.04找不到python-dev

#6

帖子 qy117121 » 2013-03-28 9:00

lengxx@hexiuzou:~$ aptitude search python-dev
p libboost-mpi-python-dev - Python interface to the Message Passing I
p libboost-python-dev - Boost.Python Library development files (d
p python-dev

12.04
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用

邮箱 chuan@ubuntu.org.cn
t-keeper
帖子: 5
注册时间: 2013-03-03 14:57
系统: 64bit-ubuntu-12.04

Re: 12.04找不到python-dev

#7

帖子 t-keeper » 2013-03-28 10:07

amazingp35 写了:add new site: http://pydev.org/updates

pending...

pydev

Done!

本人新手,不明白大侠的意思....

qy117121 写了:lengxx@hexiuzou:~$ aptitude search python-dev
p libboost-mpi-python-dev - Python interface to the Message Passing I
p libboost-python-dev - Boost.Python Library development files (d
p python-dev

12.04
我用apt-cache search python-dev,什么也没有,系统是12.04.2-64bit,跟这个有没有关系?
头像
qy117121
论坛版主
帖子: 50528
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: 12.04找不到python-dev

#8

帖子 qy117121 » 2013-03-28 10:44

换个源,apt-get update 下
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用

邮箱 chuan@ubuntu.org.cn
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

Re: 12.04找不到python-dev

#9

帖子 oneleaf » 2013-03-28 13:14

源里应该有的,把安装命令的结果贴上来。

代码: 全选

$ apt-cache show python-dev
Package: python-dev
Priority: optional
Section: python
Installed-Size: 41
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Matthias Klose <doko@debian.org>
Architecture: amd64
Source: python-defaults
Version: 2.7.3-0ubuntu7
Replaces: python2.7 (<< 2.7.3)
Depends: python (= 2.7.3-0ubuntu7), python2.7-dev (>= 2.7.3)
Filename: pool/main/p/python-defaults/python-dev_2.7.3-0ubuntu7_amd64.deb
Size: 1080
MD5sum: 1059326d9d7436874b430992ef56c5b3
SHA1: 586a10451996ab5699a05476e86210a3bc495373
SHA256: 2891f6bf48be66e98b930628464bd762158bbd5570ce9d102f6ba36c2ed1c7b5
Description-en: header files and a static library for Python (default)
 Header files, a static library and development tools for building
 Python modules, extending the Python interpreter or embedding Python
 in applications.
 .
 This package is a dependency package, which depends on Debian's default
 Python version (currently v2.7).
Homepage: http://www.python.org/
Description-md5: 93a1917c3f17606b40377d0b737c6c92
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 18m
t-keeper
帖子: 5
注册时间: 2013-03-03 14:57
系统: 64bit-ubuntu-12.04

Re: 12.04找不到python-dev

#10

帖子 t-keeper » 2013-03-28 21:59

按楼上:

代码: 全选

$ apt-cache show python
Package: python
Status: install ok installed
Priority: important
Section: python
Installed-Size: 658
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Source: python-defaults
Version: 2.7.3-0ubuntu2
Replaces: python-dev (<< 2.6.5-2)
Provides: python-ctypes, python-email, python-importlib, python-profiler, python-wsgiref
Depends: python2.7 (>= 2.7.3), python-minimal (= 2.7.3-0ubuntu2)
Suggests: python-doc (= 2.7.3-0ubuntu2), python-tk (= 2.7.3-0ubuntu2)
Breaks: python-bz2 (<< 1.1-8), python-csv (<< 1.0-4), python-email (<< 2.5.5-3), update-manager-core (<< 0.200.5-2)

Conflicts: python-central (<< 0.5.5)
Description: interactive high-level object-oriented language (default version)
 Python, the high-level, interactive object oriented language,
 includes an extensive class library with lots of goodies for
 network programming, system administration, sounds and graphics.
 .
 This package is a dependency package, which depends on Debian's default
 Python version (currently v2.7).
Homepage: http://www.python.org/
Original-Maintainer: Matthias Klose <doko@debian.org>
好像是被替换了,谢谢各位 :em06
回复