in <module>
from PyQt5 import QtWidgets, QtCore
ImportError: No module named PyQt5
If I type in "pip3 install pyqt5", I get:
Requirement already satisfied: pyqt5 in /usr/lib/python3/dist-packages (5.12.1)
FWIW, I see this error, but not consistently, on 64-bit Windows 8.1
while running trivial tests of pyqt5
without NanoVNASaver even installed.<<
As a Python newbie, 3 possibilities occur to me:
1) I read that some versions of pyqt5 have been more stable than others
2) Just as Windows uses your %PATH% to find executables,
Python has its own equivalent, which may be screwed up,
e.g. incompatible versions of stuff being found earlier:
import sys
print(sys.path)
3) relative import bug:
[ A similar problem can occur in C with #include "foo.h" vs #include <foo.h>,
but static C builds force that to be resolved once at build time..]