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

Error using py.fooof.objs.fit.FOOOF/get_results (Matlab 2024a with Python 3.11) #34

Open
SvennoNito opened this issue Jun 26, 2024 · 3 comments

Comments

@SvennoNito
Copy link

Hey guys, quickly wanted to report that with Matlab 2024a and Python 3.11.5 I get the following error. With Matlab 2023a and Python 3.8.2 it runs smoothly, so I can stay with the older Matlab version for now. Still thought it would be good to figure out what the problem is (never saw this kind of error).

Error using py.fooof.objs.fit.FOOOF/get_results
Same base class matlab.mixin.internal.indexing.Paren specified more than once for class py.fooof.data.data.FOOOFResults. Specify each base class
only once.

Error in fooof (line 59)
    fooof_results = fm.get_results();

Error in fooof_example_plot_model (line 25)
fooof_results = fooof(freqs, psd, f_range, settings, true);
@neuropil
Copy link

Getting the same error. Matlab 2024a and Python Version: "3.10"

@jiyunshin
Copy link

Same error with Matlab 2024 a and Python 3.11

@JohnnyVVParr
Copy link

I ran in to the same problem with MATLAB 2024a and Python 3.10/3.11.

Followed @SvennoNito suggestion and just regressed to MATLAB 2023a and Python 3.8.2 and it worked instantly following this guide: https://irenevigueguix.wordpress.com/2020/03/25/loading-python-into-matlab/

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

No branches or pull requests

4 participants