Previously, I used Python IDLE when I used Python for a while. I think I will mainly use Python this time, so I deleted the editor and used the Anaconda + PyCharm environment.
Create a UI with QT Designer and use the command as follows.An attempt to convert to py form results in a pyenv error. I'm using it on Mac, but maybe it's because I didn't set the environment variable at first. I don't know exactly how to solve it.
pyuic4 Platon.ui -o myPlaton.py
or
pyuic5 Platon.ui -o myPlaton.py
It may be a very simple problem, but I would appreciate your help.
pyqt python anaconda pyuic
When pyqt is installed, pyuic.py is also distributed in the site-package/pyqt5/uic directory.
You can run python pyuic.py anyfile.ui -o anyfile.py.
© 2024 OneMinuteCode. All rights reserved.