Apr-10-2018, 12:16 PM
Hi All,
I installed PyQt5 on my laptop and trying to convert my .ui file into .py using the command prompt and get the following errors when trying different commands:
1) C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat -x FirstApp.ui -o FirstApp.py
'"C:\Python35\python"' is not recognized as an internal or external command,
operable program or batch file.
2) C:\Python35\Lib\site-packages\PyQt5>pyuic5 FirstApp.ui -o FirstApp.py
'"C:\Python35\python"' is not recognized as an internal or external command,
operable program or batch file.
3) C:\Python35\Lib\site-packages\PyQt5>pyuic4 FirstApp.ui -o FirstApp.py
'pyuic4' is not recognized as an internal or external command,
operable program or batch file.
Steps i followed on the internet include:
1) Reinstalled PyQt5
2) Made sure that the Python location on local C:/ in included in my Environmental Variables in system Settings
3) made sure that the pyuic5.bat file is located in my Python directory.
I'm not sure what else to do or try and been looking to find a solution for this. any help or advice will be gladly appreciated.
Note: I have Python 3.6 installed and PyQt5
Regards
Diovanno
I installed PyQt5 on my laptop and trying to convert my .ui file into .py using the command prompt and get the following errors when trying different commands:
1) C:\Python35\Lib\site-packages\PyQt5>pyuic5.bat -x FirstApp.ui -o FirstApp.py
'"C:\Python35\python"' is not recognized as an internal or external command,
operable program or batch file.
2) C:\Python35\Lib\site-packages\PyQt5>pyuic5 FirstApp.ui -o FirstApp.py
'"C:\Python35\python"' is not recognized as an internal or external command,
operable program or batch file.
3) C:\Python35\Lib\site-packages\PyQt5>pyuic4 FirstApp.ui -o FirstApp.py
'pyuic4' is not recognized as an internal or external command,
operable program or batch file.
Steps i followed on the internet include:
1) Reinstalled PyQt5
2) Made sure that the Python location on local C:/ in included in my Environmental Variables in system Settings
3) made sure that the pyuic5.bat file is located in my Python directory.
I'm not sure what else to do or try and been looking to find a solution for this. any help or advice will be gladly appreciated.
Note: I have Python 3.6 installed and PyQt5
Regards
Diovanno