Even though I'm a total noob, I thought I could muscle my way through this problem but it doesn't seem likely ...
I'm interested in learning Python and using a Python project called Gramps, an open source genealogical data manager.
I d/l'd the source, hit run and terminal burped that there was an error that it couldn't find GTK (the offending line is "import gtk")
I d/l'd what appeared to be the latest stable version of GTK at imendio, double-clicked, let it install. Ran Gramps again, same error. I munged around GTK sites and found this line:
sudo port install gtk2
Did that, saw lots of lines go past the terminal. After 30 mins or so, Terminal ended, ran Gramps again. Same error. (tried the simple fix of changing "import gtk" to "import gtk2" and that didn't work either.)
And I got a lengthy error message:
Error: The following dependencies failed to build: atk gtk-doc gnome-doc-utils iso-codes py25-hashlib python25 libxml2 libxslt p5-xml-parser py25-libxml2 rarian getopt intltool gnome-common cairo fontconfig freetype libpixman libpng xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto jasper jpeg pango Xft2 shared-mime-info tiff xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
Error: Status 1 encountered during processing.
I would assume that Python would expect a file called "gtk.py" somewhere. The lib folder?
mt
I'm interested in learning Python and using a Python project called Gramps, an open source genealogical data manager.
I d/l'd the source, hit run and terminal burped that there was an error that it couldn't find GTK (the offending line is "import gtk")
I d/l'd what appeared to be the latest stable version of GTK at imendio, double-clicked, let it install. Ran Gramps again, same error. I munged around GTK sites and found this line:
sudo port install gtk2
Did that, saw lots of lines go past the terminal. After 30 mins or so, Terminal ended, ran Gramps again. Same error. (tried the simple fix of changing "import gtk" to "import gtk2" and that didn't work either.)
And I got a lengthy error message:
Error: The following dependencies failed to build: atk gtk-doc gnome-doc-utils iso-codes py25-hashlib python25 libxml2 libxslt p5-xml-parser py25-libxml2 rarian getopt intltool gnome-common cairo fontconfig freetype libpixman libpng xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto jasper jpeg pango Xft2 shared-mime-info tiff xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
Error: Status 1 encountered during processing.
I would assume that Python would expect a file called "gtk.py" somewhere. The lib folder?
mt