Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing ridgeplot fails with scipy 1.14.1 with "symbol not found in flat namespace '_npy_cabs'" #197

Closed
cduvallet opened this issue Sep 16, 2024 · 3 comments
Labels
dependencies Upgrade and lock dependencies good first issue Good for newcomers

Comments

@cduvallet
Copy link

This is more of an FYI for visibility than an issue that needs action, but importing ridgeplot fails when using scipy 1.14.1 ("symbol not found in flat namespace '_npy_cabs'")

Issue has been raised with scipy maintainers: scipy/scipy#21434

I'm on Mac OS 14.6.1, Python 3.10.14. Downgrading scipy solved the issue:

pip install --upgrade scipy==1.14.0
@nickodell
Copy link

This issue is fixed in statsmodels==0.14.3, see statsmodels/statsmodels#9333

@tpvasconcelos
Copy link
Owner

Thanks @cduvallet for reporting the issue and @nickodell for referencing the relevant issue on statsmodels.

Since the problem seems to be which statsmodels==0.14.2, I have removed it as a valid dependency in #198 :

image

@tpvasconcelos
Copy link
Owner

A new released has been published to PyPi: https://pypi.org/project/ridgeplot/0.1.26/

For anyone landing here looking for a solution, just upgrade to the latest version of ridgeplot:

pip install -U ridgeplot

or lock to the latest version:

pip install ridgeplot==0.1.26

@tpvasconcelos tpvasconcelos added good first issue Good for newcomers dependencies Upgrade and lock dependencies labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Upgrade and lock dependencies good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants