symbol not found in flat namespace '_csc_matrix'
lellomascetti1922 opened this issue · 0 comments
Error importing osqp
System:
MacBook Pro with Apple M2 Max
MaOS Ventura 13.0
python version:
Python 3.9.6
osqp version:
0.6.2.post8
Details
I cloned the osqp/osqp-python
repo with tag v0.6.2.post8
and built by running pip3 install .
. Installation runs fine.
When I try importing osqp in python3 I get the following error:
>>> import osqp Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Python/3.9/site-packages/osqp/__init__.py", line 5, in <module> from osqp.interface import OSQP File "/Library/Python/3.9/site-packages/osqp/interface.py", line 6, in <module> import osqp._osqp as _osqp # Internal low level module ImportError: dlopen(/Library/Python/3.9/site-packages/osqp/_osqp.cpython-39-darwin.so, 0x0002): symbol not found in flat namespace '_csc_matrix'