pombreda / winpython

Automatically exported from code.google.com/p/winpython
0 stars 0 forks source link

pyuic4.bat cannot call pyuic.py #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Attempt to run pyuic4.bat in order to compile a pyqt ui file into a py file.

What is the expected output? What do you see instead?
Expect pyuic to generate a py file from the ui file.

Instead get an error:
python: can't open file '\Lib\site-packages\PyQt4\uic\pyuic.py': [Errno 2] No 
such file or directory

What version of the product are you using? On what operating system?
64-bit-3.3.2.3 on Windows 7 Utlimate, service pack 1

Please provide any additional information below.
The problem was solved by inserting the following line in the pyuic4.bat file:
call %~dp0..\..\scripts\env.bat
As the env.bat set the WINPYDIR to the correct path

Original issue reported on code.google.com by ludovic_...@yahoo.fr on 7 Dec 2013 at 5:26

GoogleCodeExporter commented 9 years ago
Same Issue

Original comment by lr.vi...@gmail.com on 4 Jan 2014 at 10:06

GoogleCodeExporter commented 9 years ago
same issue

Original comment by leopeng...@gmail.com on 5 Feb 2015 at 10:47