Ich möchte das Pygobject-Paket auf meinem Ubuntu 13.10 installieren. Ich habe die JHBuild-Option ausprobiert, bin aber am Ende eines sehr langen Prozesses hängen geblieben.
Die Tutorial-Website von Pygobject besagt, dass es mit all seinen Abhängigkeiten für fast alle Linux-Distributionen geliefert wird und vom offiziellen Repository einer Distribution installiert werden kann.
Ich habe im Software-Center danach gesucht, es aber nicht gefunden. Alles, was zurückgegeben wurde, waren einige Rechtschreibprüfungsbibliotheken und Entwicklungsheader für gobject python -Bindungen (Ich bin Anfänger. Bitte lassen Sie mich wissen, ob dies das ist, was ich zum Erstellen von Pygtk-Anwendungen in python 3.3 benötige .2).
Ich vermute, dies muss über die Befehlszeilenschnittstelle installiert werden, kann aber nicht herausfinden, wie.
Entwicklungsbibliotheken werden im Software-Center normalerweise nicht sehr gut angezeigt. Normalerweise hilft hier die Verwendung von apt-cache search
. Also zum Beispiel:
apt-cache search python gobject
Zeigt Ihnen alle Pakete, die mit python und Gobject Introspection zusammenhängen. Hier ist ein Auszug der Ergebnisse:
python-gi - Python 2.x bindings for gobject-introspection libraries
python-gi-cairo - Python Cairo bindings for the GObject library
python-gi-dbg - Python bindings for the GObject library (debug extension)
python-gi-dev - development headers for GObject Python bindings
python-gobject - Python 2.x bindings for GObject - transitional package
python-gobject-2 - deprecated static Python bindings for the GObject library
python-gobject-2-dbg - deprecated static Python bindings for the GObject library (debug extension)
python-gobject-2-dev - development headers for the static GObject Python bindings
python-gobject-dbg - Python 2.x debugging modules for GObject - transitional package
python-gobject-dev - Python 2.x development headers for GObject - transitional package
python-pyudev - Python bindings for libudev
python3-gi - Python 3 bindings for gobject-introspection libraries
python3-gi-cairo - Python 3 Cairo bindings for the GObject library
python3-gi-dbg - Python 3 bindings for gobject-introspection libraries (debug extension)
python3-pyudev - Python3 bindings for libudev
Da Sie nach python 3 suchen, würde ich python3-gi
installieren, das ist wahrscheinlich das Paket, das Sie suchen, also ...
Sudo apt-get install python3-gi