无法找到包python-gnomedesktop:在ns3中安装PyViz

时间:2016-03-27 20:49:52

标签: python ubuntu install 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。

1 个答案:

答案 0 :(得分:2)

只是python-gnome2:

python-gnome2

您可以通过 apt-cache搜索看到:

$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-devpython-gnomedesktop将与dev软件包一起安装。

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