Hi all,

I can confirm that setting this environment variable does force pg to use 
PySide6, but I still get an ImportError (now dealing with PySide6 instead 
of PyQt5). Seems like an issue with conflicting libraries or similar, 
specific to my machine, but I've not been able to sort it out. Any insights 
would be greatly appreciated.



$ export PYQTGRAPH_QT_LIB='PySide6'

$ python -m pyqtgraph.examples
PySide6/__init__.py: Unable to import Shiboken from 
/home/jbattat/dune/ElectricalMethod/DAQ/python, /usr/lib/root, 
/home/jbattat/pylibjb, /home/jbattat/dune/ElectricalMethod/DAQ/python, 
/home/jbattat/.pyenv/versions/3.8.1/lib/python38.zip, 
/home/jbattat/.pyenv/versions/3.8.1/lib/python3.8, 
/home/jbattat/.pyenv/versions/3.8.1/lib/python3.8/lib-dynload, 
/home/jbattat/.pyenv/versions/dwadaq/lib/python3.8/site-packages
Traceback (most recent call last):
  File "/home/jbattat/.pyenv/versions/3.8.1/lib/python3.8/runpy.py", line 
184, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/home/jbattat/.pyenv/versions/3.8.1/lib/python3.8/runpy.py", line 
110, in _get_module_details
    __import__(pkg_name)
  File 
"/home/jbattat/.pyenv/versions/dwadaq/lib/python3.8/site-packages/pyqtgraph/__init__.py",
 
line 13, in <module>
    from .Qt import QtGui, mkQApp
  File 
"/home/jbattat/.pyenv/versions/dwadaq/lib/python3.8/site-packages/pyqtgraph/Qt.py",
 
line 186, in <module>
    from PySide6 import QtGui, QtCore, QtWidgets
  File 
"/home/jbattat/.pyenv/versions/dwadaq/lib/python3.8/site-packages/PySide6/__init__.py",
 
line 111, in <module>
    _setupQtDirectories()
  File 
"/home/jbattat/.pyenv/versions/dwadaq/lib/python3.8/site-packages/PySide6/__init__.py",
 
line 60, in _setupQtDirectories
    from shiboken6 import Shiboken
  File 
"/home/jbattat/.pyenv/versions/dwadaq/lib/python3.8/site-packages/shiboken6/__init__.py",
 
line 25, in <module>
    from shiboken6.Shiboken import *
ImportError: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found 
(required by 
/home/jbattat/.pyenv/versions/dwadaq/lib/python3.8/site-packages/shiboken6/libshiboken6.abi3.so.6.1)




On Tuesday, June 15, 2021 at 9:33:23 PM UTC-4 [email protected] wrote:

> You can set PYQTGRAPH_QT_LIB to e.g. 'PySide2' and that should switch it.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/59d38d26-ee99-49b4-b06a-8ca6e31839c0n%40googlegroups.com.

Reply via email to