admin管理员组文章数量:1530040
arm64以及amd64和龙芯4000下安装pyqt:
包下载地址:
sip安装包地址:https://riverbankcomputing/software/sip/download
qt源码下载 http://download.qt.io/arhive/qt/
2.7下安装pyqt5:https://wwwblogs/deeplearning1314/p/10671347.html
参考编译链接:
linux下安装qt:https://blog.csdn/u014523388/article/details/101453045
编译安装pyqt5:https://blog.csdn/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
版权声明:本文标题:arm64以及amd64和龙芯4000下安装pyqt: 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dongtai/1726771328a1083909.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论