导入pyside2 pyside6出现libgssapi_krb5.so.2: symbol krb5_ser_context_init version krb5_3_MIT的问题
导入pyside2出现如下问题
from PySide2 import QtWidgets
ImportError: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: symbol krb5_ser_context_init version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference
这是由于anaconda或机器中qt版本不对
参考stackoverflow上解答https://so.csdn.net/so/search?q=anaconda&spm=1001.2101.3001.7020
pip uninstall pyside2, qt, pyqt5 if you have installed them with pip
conda remove pyside2, qt, pyqt5 if you have installed them with conda
conda install -c conda-forge pyside2
这里最后一步一直失败改装了老版本
直接安装老版本即可
pip install pyside2==5.13.0
pip install pyside6==6.0.0
网名:浩秦;
邮箱:root#landv.pw;
博客:landv.cnblogs.com;
只要我能控制一個國家的貨幣發行,我不在乎誰制定法律。金錢一旦作響,壞話隨之戛然而止。