Opened 12 years ago
Closed 12 years ago
#299 closed defect (invalid)
pyuic4 does not work
Reported by: | mlt | Owned by: | |
---|---|---|---|
Priority: | major | Component: | Package |
Version: | Keywords: | pyuic, python, encoding | |
Cc: |
Description
I'm using the latest build and here is what I'm getting:
C:\...>pyuic4 somefile.ui Fatal Python error: Py_Initialize: unable to load the file system codec File "C:\OSGeo4W\\apps\Python27\lib\encodings\__init__.py", line 123 raise CodecRegistryError,\ ^ SyntaxError: invalid syntax This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
I feel like it is python 3 raise syntax or something.
Note:
See TracTickets
for help on using tickets.
Apparently I have another pyuic4 on the PATH. Providing full path
C:\OSGeo4W\bin\pyuic4.bat
did the trick. Though it is weird. Right PATHs should come first when in OSGeo4W console.