Python Forum
ui to py command error
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ui to py command error
#2
Hi Guys,

I tried the following to help resolve my issue. I edited my pyuic5.bat file located in C:\Python35\Lib\Site-Packages\PyQt5 as follows:

Original Script:
Quote:@"C:\Python35\python" -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9

My Edit: to point my bat file to where my Python directory is
Quote:@"C:\Program Files\Python36\python.exe" -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9

Then when i try running the convert command again i get a new error:

Quote:C:\Program Files\Python36\python.exe: Error while finding module specification for 'PyQt5.uic.pyuic' (ModuleNotFoundError: No module named 'PyQt5')

I'm not what sure to do next to get around this very frustrating error. any help will be gladly appreciated.

Regards

Diovanno
Reply


Messages In This Thread
ui to py command error - by Diovanno - Apr-10-2018, 12:16 PM
RE: ui to py command error - by Diovanno - Apr-11-2018, 05:47 PM
RE: ui to py command error - by nilamo - Apr-11-2018, 06:09 PM
RE: ui to py command error - by Diovanno - Apr-11-2018, 06:16 PM
RE: ui to py command error - by zorekk - Aug-26-2020, 07:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyGUI] Invalid command error with Entry object eliqm 8 2,266 May-18-2023, 10:14 PM
Last Post: eliqm

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020