I am trying to install PyQt5 on my windows. My python is 3.16. pip install PyQt5 gives not error and it seems PyQt5 is installed. Future "pip install PyQt5" gives the message "Requirement already satisfied"
Then in same terminal I run "python test.py" and test.py contains single line "from PyQt5.QtWidgets import QMainWindow". this gives me error "No module named PyQt5.QtWidgets". "where pip" and "where python" are pointing to same python distribution. PyQt5 is in site-packages.
Can anybody say what is going on?
This is the same issue I have asked a few days before but in that time I got same error when installing with wheels. Now I kind a localized the issue.
