PandasGUI: from PyQt5 import QtWebEngineWidgets: "ImportError"
Hi,
I installed pandasgui using pip and it installed the library but I got the following error:
from PyQt5 import QtWebEngineWidgets
ImportError: /lib/x86_64-linux-gnu/libgssapi_krb5.so.2: undefined symbol: krb5_ser_context_init, version krb5_3_MIT
I am using the package in an anaconda environment with python 3.8. Is there any specific version of PyQt5 that I need to install?
About this issue
- Original URL
- State: open
- Created 6 years ago
- Reactions: 7
- Comments: 22 (2 by maintainers)
I had the same issue. Ubuntu 20.04LTS. I tried to uninstall and then reinstalled spyder from 4.1.5 to 3.3.6, and the error message was gone.
Reduce the version of PyQt to 5.12.1 and pip install PyQtWebEngine==5.12.1, arise other problem, pandasgui no response
I encounter the issue today, not quite into the details of all these script. But I here proposed a method at least you can try before you can go in to all the code provided above.
I am using conda on ubuntu . My “spyder” command actually refers to the “base” virtual environment, even i start spyder in a virtual environment. So first step is to make sure in which environment is your problematic spyder. Check with
which pipthen, using the following command to check your current installed python package
pip listuninstall all packages related to pyqt, spyder… (there may be some suffix in the word pyqt and spyder) uninstall them all in my case, they are
pip uninstall spyder spyder-kernels PyQt5-Qt5 PyQtWebEngine PyQtWebEngine-Qt5 PyQt5-sipAfter removal, install spyer by command
pip install spyderThen it should work. This is how I deal with it after searching for 2 hours.
I downgraded PyQt to 5.12.1 and pip install PyQtWebEngine==5.12.1. It sorta worked on Jupiter but it kills the kernel
I tried it on PyCharm on Linux Mint and it works perfect 👍