[gtk-osx-users] PyGTK on Lion
- From: Shrihari Sankaran <gfxindia gmail com>
- To: gtk-osx-users-list gnome org
- Subject: [gtk-osx-users] PyGTK on Lion
- Date: Sat, 22 Oct 2011 00:34:35 +0530
Hello,
I'm trying to build and bundle a PyGTK application on my Lion.
What I've done so far:
- Created a new user called "gtk-ox" and signed into the terminal as that user.
- Downloaded the shell script
- sh gtk-osx-build-setup.sh
- alias jhbuild="PATH=~/.local/bin:$PATH jhbuild"
- jhbuild bootstrap
- jhbuild build meta-gtk-osx-bootstrap
- jhbuild build meta-gtk-osx-core
All these went fine. Then I performed:
- jhbuild build meta-gtk-osx-python
I went ahead and open the shell.
- jhbuild shell
- cd myapp
- python my_app.py
Now, I'm getting this error:
Traceback (most recent call last):
File "my_app.py", line 12, in <module>
import gtk
File "/Users/gtk-osx/gtk/inst/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
from gtk import _gtk
ImportError: dynamic module does not define init function (init_gtk)
Any idea what's wrong here?
Thanks,
Shrihari
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]