Skip to content

symbol not found in flat namespace '_csc_matrix' #108

@lellomascetti1922

Description

@lellomascetti1922

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions