i installed pyqt5 below command.
brew install pyqt5
successfully, install end.
but "from pyqt5.qtcore import *" in python code cannot import module.
output message importerror: no module named 'pyqt5'
so check python path in command line. (python3)
you can find line, '/usr/local/lib/python3.4/site-packages/pyqt5'
'/usr/local/lib/python3.4/site-packages/pyqt5' include files below.
what problem in situation. how can fix problem?.
all files under '/usr/local/lib/python3.4/site-packages/pyqt5' linked folder. please make sure linked files exist, or add linked folder sys.path , try "import pyqt5" again
Comments
Post a Comment