Hi all!
I am having some issues building a python/PyQt4 application using py2exe.
My first issue is an error while running py2exe (from cmd):
*** searching for required modules ***
error: compiling 'C:\Python27\lib\site-packages\PyQt4\uic\port_v3\proxy_base.py'
failed
SyntaxError: invalid syntax (proxy_base.py, line 31)
I got around this problem by moving the whole port_v3 folder to my desktop and then compiling, and my program ran fine.
That was yesterday. Today however I made some changes to my program and compiled it, and it would not start, I then reverted EVERY change I had made and I could still not run my exe. This is from the log file:
Traceback (most recent call last):
File "main.py", line 2, in <module>
File "PyQt4\QtGui.pyo", line 12, in <module>
File "PyQt4\QtGui.pyo", line 10, in __load
ImportError: No module named sip
Traceback (most recent call last):
File "main.py", line 2, in <module>
File "PyQt4\QtGui.pyo", line 12, in <module>
File "PyQt4\QtGui.pyo", line 10, in __load
ImportError: No module named sip
To copy to clipboard, switch view to plain text mode
So this problem simply showed up without me making any changes to my system or the script (AFAIK). Actually I made one change, I updated SVN to a newer version, but I don't see how that could factor into it.
I'll be very happy for any help on this! Totally lost here
Bookmarks