简体   繁体   English

pyqt5无法与python 3.5一起安装

[英]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: 我安装了python 3.5然后安装了pyqt5.5.1,当在win7下安装二进制文件时,它显示警告说它是在python3.4下构建的。无论如何我都安装到python35目录中。我可以在开始菜单中打开助手,但是在python中不是这样工作:

from PyQt5.QtCore import * Traceback (most recent call last): File "", line 1, in from PyQt5.QtCore import * ImportError: DLL load failed 从PyQt5.QtCore导入*回溯(最近一次调用):从PyQt5.QtCore导入的文件“”,第1行* ImportError:DLL加载失败

Use pip to install the Windows wheel file 使用pip安装Windows wheel文件

The installer were based on 3.4. 安装程序基于3.4。 So you can't use it. 所以你不能使用它。

Download LINK 下载链接

Command line guide: pip install name_of_file.whl 命令行指南:pip install name_of_file.whl

PS: install SIP in the same way. PS:以相同的方式安装SIP。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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