Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

gimp import pygtk error #223

Closed
chaoflow opened this Issue · 3 comments

3 participants

@chaoflow
Collaborator
(gimp:25808): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File "/nix/store/k52r98d6xqqf5aky4gah80ca2xak1s5x-gimp-2.8.2/lib/gimp/2.0/plug-ins/text-brush.py", line 20, in <module>
    from gimpfu import *
  File "/nix/store/k52r98d6xqqf5aky4gah80ca2xak1s5x-gimp-2.8.2/lib/gimp/2.0/python/gimpfu.py", line 76, in <module>
    import gimp
ImportError: could not import pygtk

@chaoflow
Collaborator

pygtk does not create pth files, thx @shlevy and @NixOSn00b (on irc) for pointing it out and finding workarounds for now.

@chaoflow chaoflow referenced this issue from a commit in chaoflow/nixpkgs
@chaoflow chaoflow pygtk in pythonPackages, checks disabled, demo works, relates #223
Previously the checkPhase was not executed. It is now and a couple of
issues with it are seded away.
a7a6173
@iyzsong
Collaborator

I can see pth files in pygtk now.
wrap it with PYTHONPATH set to ${pygtk}/lib/${python.libPrefix}/site-packages seem work.

@bjornfor
Collaborator

@iyzsong: Great! Will you make a pull request of that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.