无法调试程序

Cannot debug program

当我 运行 我的程序似乎一切正常,但当我调试时我得到这个:

**

Traceback (most recent call last): File "", line 1027, in _find_and_load File "", line 1006, in find_and_load_unlocked File "", line 688, in load_unlocked File "", line 883, in exec_module
File "", line 241, in call_with_frames_removed File "C:\Users\john\PycharmProjects\DimascanTEMP\modules\ExcelFind.py", line 2, in import pandas as pd File "C:\Users\john\PycharmProjects\DimascanTEMP\Venv\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature.py", line 142, in import return original_import(name, *args, **kwargs) File "C:\Users\john\PycharmProjects\DimascanTEMP\Venv\lib\site-packages\pandas_init.py", line 11, in import(dependency) File "C:\Users\john\PycharmProjects\DimascanTEMP\Venv\Lib\site-packages\shiboken2\files.dir\shibokensupport_feature
.py", line 142, in import return original_import(name, *args, **kwargs) File "C:\Users\john\PycharmProjects\DimascanTEMP\Venv\lib\site-packages\numpy_init.py", line 195, in core.numerictypes.typeDict, File "C:\Users\john\PycharmProjects\DimascanTEMP\Venv\lib\site-packages\numpy\core_init
.py", line 161, in getattr raise AttributeError(f"Module {name!r} has no attribute {name!r}") AttributeError: Module 'numpy.core' has no attribute 'numerictypes'

**

我在网上找到了不同的原因,但 none 对我有用。

有什么建议吗?

干杯,约翰

将“PyQt 兼容”选项从“自动”更改为“PyQT5”,问题消失了。