[英]Unable to locate package python-gnomedesktop: Installing PyViz in ns3
我按照這里的命令安裝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搜索查看 :
$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
將與dev包一起安裝。
python-gnomedesktop (>= 2.32.0+dfsg-1)
Python bindings for the GNOME desktop library
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.