使用 veighna_studio-3.4.0.exe 安装 VeighNa Station, 过程一切正常,没有报错。按使用文档中的测试 pyqtgraph.examples.run()后,PyQtGraph Examples对话框正常弹出,但点击“Basic Plotting"或点按钮”Run Example"时报错。调用过程和出错信息如下,请问什么原因,如何解决?
from pyqtgraph import examples
examples.run()
PySide6/init.py: Unable to import Shiboken from D:\Program Files\veighna_studio\lib\site-packages\pyqtgraph\examples, D:\Program Files\veighna_studio\lib\site-packages, D:\Program Files\veighna_studio\python310.zip, D:\Program Files\veighna_studio\DLLs, D:\Program Files\veighna_studio\lib, D:\Program Files\veighna_studio, D:\Program Files\veighna_studio\lib\site-packages\win32, D:\Program Files\veighna_studio\lib\site-packages\win32\lib, D:\Program Files\veighna_studio\lib\site-packages\Pythonwin
Traceback (most recent call last):
File "D:\Program Files\veighna_studio\lib\site-packages\pyqtgraph\examples\CLIexample.py", line 12, in <module>
import pyqtgraph as pg
File "D:\Program Files\veighna_studio\lib\site-packages\pyqtgraph__init.py", line 18, in <module>
from .colors import palette
File "D:\Program Files\veighna_studio\lib\site-packages\pyqtgraph\colors\palette.py", line 1, in <module>
from ..Qt import QtGui
File "D:\Program Files\veighna_studio\lib\site-packages\pyqtgraph\Qt\init.py", line 26, in <module> import(QT_LIB)
File "D:\Program Files\veighna_studio\lib\site-packages\PySide6\init.py", line 143, in <module>
_setupQtDirectories()
File "D:\Program Files\veighna_studio\lib\site-packages\PySide6\init.py", line 64, in _setupQtDirectories
from shiboken6 import Shiboken
File "D:\Program Files\veighna_studio\lib\site-packages\shiboken6\init.py", line 23, in <module>
import typing
File "D:\Program Files\veighna_studio\lib\site-packages\typing.py", line 1359, in <module>
class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
File "D:\Program Files\veighna_studio\lib\site-packages\typing.py", line 1007, in new__
self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'