Skip to content

spm cannot find matlab runtime #57

@shania3322

Description

@shania3322

I used install_matlab_runtime -v R2025b -p SOME_OTHER_DIRECTORY. After that I ran python -c "import spm;print(spm.spm('Version'))". It automatically tried to download matlab runtime again but failed because the default directory (/usr/local/ ) is not available in my environment. Can someone help?

My system: Linux and connects to HPC clusters

I ran the following commands:
conda create -n spm25 python=3.13 scipy

conda activate spm25

pip install spm-python[R2025b]

install_matlab_runtime -v R2025b -p /export/home/usrname/MATLAB/MATLAB_RUNTIME -y

python -c "import spm; print(spm.spm('Version'))"

Results:

Initializing Matlab Runtime...

Downloading installer from https://...

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