uos20-龙芯版(MIPS64EL) 安装PySide2

$ pip3 install PySide2
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement PySide2 (from versions: none)
ERROR: No matching distribution found for PySide2

下载源码:
$ wget https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.11.2-src/pyside-setup-everywhere-src-5.11.2.tar.xz

如何找源码之类的可以参考我的另一篇博文:
https://blog.csdn.net/mxcai2005/article/details/106824217

安装依赖

$ sudo apt install -y qt5-qmake qtbase5-dev
$ sudo apt install libqt5xmlpatterns5-dev
$ sudo apt install libclang-7-dev 

编译
$ python3 setup.py bdist_wheel

编译好的文件
./dist/PySide2-5.11.2-5.11.3-cp37-cp37m-linux_mips64.whl

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章