Skip to content

Errors using Python with MATLAB #19

@nishiyor

Description

@nishiyor

I am new to using Python in MATLAB, but would like to use fooof to analyze EEG data. I am using a Mac (Mojave 10.14.16) with MATLAB 2019a. As much as I would like to update both or either of these, this is a lab computer, so I have very little control over it.

I followed the steps here to install the most recent version of Python (v 3.8). I ran into the error addressed in the issue regarding missing 'py' variable. I ran the 'install numpy', but still get the same error (missing 'py'). I notice that in MATLAB, after running 'pyversion', it says I am using version 2.7. When I run IDLE, it says my version is 3.8.3. The library and home paths all indicate that the version of Python I am using is 2.7. Assuming that this is the issue that is preventing me from using fooof, how can I correct this?

Thank you for your time in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions