After installing anaconda3, I began to install pyside2.
I directly typed pip install pyside2
, and successfully installed pyside2 5.15. But when I ran the toy example, an error occurred:
Traceback (most recent call last):
File "test.py", line 2, in <module>
from PySide2.QtWidgets import QApplication, QLabel
ImportError: /usr/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
I when to /usr/lib/x86_64-linux-gnu
and found both libgssapi_krb5.so.2
and libkrb5.so.3
, and I have no idea how to fix this bug. Can anybody help me?
My environment:
python: 3.8.3
OS: ubuntu 18.04
CPU: AMD ryzen 3600