Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
So lost
#9
i copied everything from site packages to a folder in site-packages, and put it in a folder named PyQt5 in Lib.

no this is the error


Traceback (most recent call last):
File "C:/Users/mjona/PycharmProjects/untitled/test projects/gui test.py", line 3, in <module>
from PyQt5.QtGui import QPalette, QKeySequence, QIcon
ModuleNotFoundError: No module named 'PyQt5.QtGui'

Process finished with exit code 1

(Sep-23-2018, 04:00 PM)Axel_Erfurt Wrote: If you use venv, then you must install pyqt5 in it.

I uninstalled pyqt5 and pyqt5-sip it still sisnt work. so i moved all the files in site packages to Lib and it works. thanks for all the help.
Reply


Messages In This Thread
So lost - by mtndewwarrior - Sep-23-2018, 12:22 AM
RE: So lost - by Larz60+ - Sep-23-2018, 01:05 AM
RE: So lost - by mtndewwarrior - Sep-23-2018, 02:47 AM
RE: So lost - by Axel_Erfurt - Sep-23-2018, 09:58 AM
RE: So lost - by mtndewwarrior - Sep-23-2018, 03:23 PM
RE: So lost - by Axel_Erfurt - Sep-23-2018, 03:30 PM
RE: So lost - by mtndewwarrior - Sep-23-2018, 03:33 PM
RE: So lost - by Axel_Erfurt - Sep-23-2018, 04:00 PM
RE: So lost - by mtndewwarrior - Sep-23-2018, 04:00 PM
RE: So lost - by Axel_Erfurt - Sep-23-2018, 04:13 PM
RE: So lost - by mtndewwarrior - Sep-23-2018, 04:21 PM
RE: So lost - by Axel_Erfurt - Sep-23-2018, 07:42 PM
RE: So lost - by snippsat - Sep-23-2018, 08:49 PM

Forum Jump:

User Panel Messages

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