user interface - Convert UI file to Python Using pyuic4 Issue -
i'm trying convert ui file python using pyuic4 "the system cannot find path specified". (pyuic4 mainwindow.ui > mainwindow.py
) i'm not sure why since i've given command line exact location of file (pyuic4) in anaconda. if use pyuic5 conversion without problem (pyuic5 mainwindow.ui > mainwindow.py
). i'm using windows anaconda3. have ideas problem might be?
i ran myself. looks anaconda build has issue. pyuic4.bat has machine dependent paths need changed match system.
original pyuic4.bat text (notice path)
@"c:\aroot\stage\python" "c:\aroot\stage\lib\site-packages\pyqt4\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9
correct anaconda text:
@"c:\anaconda\python" "c:\anaconda\lib\site-packages\pyqt4\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9
correct anaconda3 text:
@"c:\anaconda3\python" "c:\anaconda3\lib\site-packages\pyqt4\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9
Comments
Post a Comment