12-13-2017, 04:00 PM
Hi
not enough information online - so i ask it here.
the issue:
i have a .py script that run fine on gimp.
when trying to compile it with "-m compileall" - i get an error:
#########################################
Error processing line 3 of c:\Program Files\GIMP 2\Python\lib\site-packages\pygtk.pth:
Traceback (most recent call last):
File "c:\Program Files\GIMP 2\Python\lib\site.py", line 152, in addpackage
exec line
File "<string>", line 1, in <module>
ImportError: No module named runtime
Remainder of file ignored
Compiling myscript.py ...
#################################
the compile produce a .pyc file, but when gimp trying to load it - it crash with similar error or
"runtime" module missing...
I was trying to compile other gimp python scripts - with same result.
i remember that in ubuntu i tried it once , few months ago, and it was fine.
can someone help with this issue?
not enough information online - so i ask it here.
the issue:
i have a .py script that run fine on gimp.
when trying to compile it with "-m compileall" - i get an error:
#########################################
Error processing line 3 of c:\Program Files\GIMP 2\Python\lib\site-packages\pygtk.pth:
Traceback (most recent call last):
File "c:\Program Files\GIMP 2\Python\lib\site.py", line 152, in addpackage
exec line
File "<string>", line 1, in <module>
ImportError: No module named runtime
Remainder of file ignored
Compiling myscript.py ...
#################################
the compile produce a .pyc file, but when gimp trying to load it - it crash with similar error or
"runtime" module missing...
I was trying to compile other gimp python scripts - with same result.
i remember that in ubuntu i tried it once , few months ago, and it was fine.
can someone help with this issue?