简体   繁体   中英

PyQT5 Python 3.3 Pycharm

I am new to python and I have an issue running PyQT5 for my Python 3.3 on PyCharm. I have read several posts about it, some speaking about doing a build which I am not sure to get. Here is what I have done :

Downloaded and run the .exe found here .

Installing normally, the same way as my Pillow for instance (which is running with my Pycharm).

aaaand, that's its.

from PyQt5.QtCore import *
from PyQt5.QtWidgets import *

==     from PyQt5.QtCore import *
ImportError: No module named 'PyQt5.QtCore'

When I setup the module in PyCharm it simply didn't find it. So is the .exe found on the official PyQT5 dead ?

Thanks Bloby

I also met the same problem recently, maybe you also install PyQt5 by pip? It seems that the after using pip, I can import the PyQt5 but not any packages of it, so I have to download the old version with an installer .

Then Pycharm can runs without error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM