Moving Flask app from local environment to Ubuntu 14.04. Getting 'NameError: 'QtWidgets' is not defined"
Have done the following:
sudo apt-get install python3-pyqt5
verified this with following command:
apt-cache policy python3-pyqt5
result: "python3-pyqt5:
Installed: 5.2.1+dfsg-1ubuntu1
Candidate: 5.2.1+dfsg-1ubuntu1
Version table:
***5.2.1+dfsg-1ubuntu1 0
500 http://mirrors.digitalocean.com/ubuntu/ trusty/main amd64 Packages"
tried following command from python command line:
from PyQt5 import QtWidgets
got following response:
ImportError: No module named 'PyQt5'
I'll admit to being relatively new to this, so it's probably something obvious to experienced folks. In any event thanks for any insights you can offer.