Home > Mobile >  The UI files with pyuic5 py, an error occurs
The UI files with pyuic5 py, an error occurs

Time:09-16

Error: Error in input file: not well - formed (invalid token) : line 1, column 1
How be to return a responsibility excuse me?

CodePudding user response:

Add: not in pycharm is an error in the CMD,
UI file head content is:
& lt; ? The XML version="1.0" encoding="utf-8"?>
& lt; The UI version="4.0" & gt;
& lt; Class> Form
& lt; The widget name="Form" & gt;
& lt; The property name="geometry" & gt;

CodePudding user response:

Should be a version problem, pyqt5, pyqt - tools, Qt, Python version are corresponding well, try again
  •  Tags:  
  • Qt
  • Related