python - 无法找到包 python-gnomedesktop : Installing PyViz in ns3

标签 python ubuntu installation sudo ns-3

我正在执行命令 here安装 PyViz。

我得到错误:

~$ sudo apt-get install python-gnome2-desktop
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-gnome2-desktop is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python-wnck:i386 python-rsvg:i386 python-gnomekeyring:i386 python-wnck python-rsvg python-gnomekeyring

E: Package 'python-gnome2-desktop' has no installation candidate

我试图搜索问题的解决方案,但都给出了相同的错误。

我有 Ubuntu 15.04。

最佳答案

它只是 python-gnome2:

python-gnome2

您可以使用 apt-cache search 查看:

$apt-cache search python-gnome2
    python-gnome2 - Python bindings for the GNOME desktop environment
    python-gnome2-desktop-dev - Python bindings for the GNOME desktop environment
    python-gnome2-dev - Python bindings for the GNOME desktop environment - development files
    python-gnome2-doc - Python bindings for the GNOME desktop environment

你实际上需要安装python-gnome2-desktop-dev , python-gnomedesktop 将与开发包一起安装。

python-gnomedesktop (>= 2.32.0+dfsg-1)
Python bindings for the GNOME desktop library

关于python - 无法找到包 python-gnomedesktop : Installing PyViz in ns3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36252495/

相关文章:

postgresql - JDBC 到 PostgreSQL 升级 Ubuntu 后无法正常工作

ubuntu - 定义 ssh 连接到 docker 容器的密码

c# - 卸载程序在 Development Box 上运行后保留 COM 注册

c# - .Net 中的自定义安装程序显示安装程序后面的表单

c# - 检测用户是否输入假名的服务或策略?

python - 在python中,如何获取对象/字典列表中的最低键值对,其中每个项目都有不同的、单独的键值对?

ubuntu - cp : cannot create regular file `../lib/' : Is a directory

android - 从 android 市场下载和安装应用程序之间的 Hook

python - Python 中的多重继承

python - Django FilteredSelectMultiple 不在页面上呈现