Skip to content

Fix AttributeError: module 'numpy' has no attribute 'math'#114

Open
EVDIO wants to merge 1 commit into
pwollstadt:masterfrom
EVDIO:patch-1
Open

Fix AttributeError: module 'numpy' has no attribute 'math'#114
EVDIO wants to merge 1 commit into
pwollstadt:masterfrom
EVDIO:patch-1

Conversation

@EVDIO
Copy link
Copy Markdown

@EVDIO EVDIO commented Aug 26, 2024

I encountered this error trying to execute the multivariate_te demo. I am using python 3.12.3 and numpy==2.1.0. Using scipy factorial fixed the error for me.

I encountered this error trying to execute the multivariate_te demo.
I am using python 3.12.3 and numpy==2.1.0. Using scipy factorial fixed the error for me.
@chris-jackson7
Copy link
Copy Markdown

Until this is merged, downgrading to scikit-learn to 1.24.0 will remove the error.

@mwibral
Copy link
Copy Markdown
Collaborator

mwibral commented Apr 23, 2026

We are working on a fix that also incorporates the changes necessary for using numpy2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants