Deep-MI / BrainPrint

A python-only derivative of the original BrainPrint scripts
MIT License
11 stars 9 forks source link

ERROR: Environment variable FREESURFER_HOME not set #2

Closed enjoy-our-life closed 2 years ago

enjoy-our-life commented 2 years ago

Dear Sir or Madam: I am running this code in jupyter on windows10.I had a problem:ERROR: Environment variable FREESURFER_HOME not set. An exception has occurred, use %tb to see the full traceback.Can I run this code in windows?I would be grateful if you can give any assistance.

kdiers commented 2 years ago

Hello,

the brainprint-python package currently requires that a working FreeSurfer installation (https://surfer.nmr.mgh.harvard.edu) is present and sourced on the system, hence the error regarding the FREESURFER_HOME environment variable.

While FreeSurfer can, in principle, run on a modern Windows system (see: https://surfer.nmr.mgh.harvard.edu/fswiki/FS7_wsl) we have not tested this and currently only support MacOS or Linux systems. We may remove the FreeSurfer dependency in the future, but likely not very soon.

Hope this still helps,

Kersten

enjoy-our-life commented 2 years ago

Thank you for your reply.I try to run brainprint.py in the Ubuntu sussessfully.