我正在尝试导入一个名为 qiskit 的 Python 模块,但每次导入时,都会出现以下错误:
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tweedledum/_tweedledum.cpython-38-darwin.so, 2): Symbol not found: _aligned_alloc
Referenced from: /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tweedledum/_tweedledum.cpython-38-darwin.so
Expected in: /usr/lib/libSystem.B.dylib
in /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/tweedledum/_tweedledum.cpython-38-darwin.so
昨天我安装了另一个名为 ibm_quantum_widgets 的模块时发生了这种情况。我尝试卸载并重新安装 qiskit 但它似乎不起作用。有什么想法吗?