简体   繁体   中英

Unable to locate package python-gnomedesktop: Installing PyViz in ns3

I am following the commands here to install PyViz.

I get the error:

~$ 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

I tried to search the solutions for the problem but all give the same error.

I have Ubuntu 15.04.

It is just python-gnome2:

python-gnome2

You can see with an 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

You actually need to install python-gnome2-desktop-dev , python-gnomedesktop will be installed with the dev package.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM