简体   繁体   中英

pyqt5 cannot install with python 3.5

I installed python 3.5 then install pyqt5.5.1, when installing the binary file under win7, it showed warning that it's built under python3.4.I installed to the python35 directory anyway.I can open Assistant in start menu.But in python it's not working:

from PyQt5.QtCore import * Traceback (most recent call last): File "", line 1, in from PyQt5.QtCore import * ImportError: DLL load failed

Use pip to install the Windows wheel file

The installer were based on 3.4. So you can't use it.

Download LINK

Command line guide: pip install name_of_file.whl

PS: install SIP in the same way.

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