栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

arm64以及amd64和龙芯4000下安装pyqt:

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

arm64以及amd64和龙芯4000下安装pyqt:

arm64以及amd64和龙芯4000下安装pyqt:

包下载地址:
sip安装包地址:https://riverbankcomputing.com/software/sip/download
qt源码下载 http://download.qt.io/arhive/qt/
2.7下安装pyqt5:https://www.cnblogs.com/deeplearning1314/p/10671347.html

参考编译链接:
linux下安装qt:https://blog.csdn.net/u014523388/article/details/101453045
编译安装pyqt5:https://blog.csdn.net/mayifan0/article/details/120308364

遇到的错误及解决方法:

卸载python:
apt-get remove python3.x

卸载python及其依赖: 
apt-get remove --auto-remove python3.x

清除python:
apt-get purge python3.x或者apt-get purge --auto-remove python3.x

Generating the C++ source for the QtCore module...Error: Unable to create the C++ code.:
目前应该是需要安装qt,所以下载qt源码进行安装

ModuleNotFoundError: No module named '_ctypes':
yum install libffi-devel -y或者apt-get install libffi-dev

E: 无法定位软件包 qt-sdk:
apt-get update

fatal error: Python.h: 没有那个文件或目录:
apt-get install python-dev

Error: PyQt5 requires Qt v5.0 or later. You seem to be using v4.8.7. Use the --qmake flag to specify the correct version of qmake:
apt-get install qt5-default
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/838424.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号