Python Forum
[PyQt] Cannot get PyQt5 to import
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] Cannot get PyQt5 to import
#1
Hi!

I'm very new to this side of computers and was wondering if I could get a little help.

I have used pip to install both PyQt5 and PyQt-tools they both downloaded with no problem and I can find them in my site-packages folder however when I attempt to import from them into project I get an error.


[Image: qT0Dthb]

thanks a ton!
Reply
#2
Please show how you tried to import, and the complete unaltered error traceback.
Thank You
Reply
#3
(Apr-03-2020, 05:43 AM)Larz60+ Wrote: Please show how you tried to import, and the complete unaltered error traceback.
Thank You

I've figured out how to fix it and the problem was it was installed correctly into external libraries however not into the actual project lib. a simple copy and paste of the files I needed from the external lib to the project lib did the trick. Just wondering if that's what I was supposed to do with external modules the whole time? I know it's gone a bit off the GUI subject sorry!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 1,284 Apr-06-2019, 11:15 PM
Last Post: ZenWoR
  PyQt5 - import rext from other file - despearte for help D_frucht 1 1,350 May-26-2018, 06:37 AM
Last Post: Barrowman

Forum Jump:

User Panel Messages

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