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://...
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 scipyconda activate spm25pip install spm-python[R2025b]install_matlab_runtime -v R2025b -p /export/home/usrname/MATLAB/MATLAB_RUNTIME -ypython -c "import spm; print(spm.spm('Version'))"Results: