[gtk-osx-users] PyGTK on Lion


I'm trying to build and bundle a PyGTK application on my Lion.

What I've done so far:
All these went fine. Then I performed:
At this point, it skipped the first 12 steps. I got this: http://pastebin.com/XrQShjFu

I went ahead and open the shell.
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?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]