Reputation: 13
Ive got some import problems in python. When I want to import the PyQt5 library I just get the error "No module named 'PyQt5'". The folder is in the path C:\Python\Python37\Lib\PyQt5. I can import tkinter and the folder is in the same path as PyQt5
Code: from PyQt5 import QtCore, QtGui, QtWidgets Error:ModuleNotFoundError: No module named 'PyQt5'
Upvotes: 0
Views: 399
Reputation: 96
if you are using a virtual environment, the modules available in a normal machine can't be imported unless you grant permission.
Upvotes: 0