-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
subprocess env is not set properly #6988
Comments
you hacked the path?
this function looks very different from
https://github.com/mne-tools/mne-python/blob/master/mne/utils/misc.py#L85
are you using latest release/master?
|
In the fix yes, else no.
Yes, I went for the simplest possible fix ;) This solved the issue for me, but I don't want to open a PR, because it's not a pure-python, platform-independent, easy-to-debug issue.
yes |
#6991 should fix it. Either use that branch, or |
FWIW, I did export #6991 seems to works fine |
While running
mne.bem.mne_make_watershed_bem
I ran into a unspecific error:Error: io.UnsupportedOperation: fileno
which is due to a subprocess error triggered earlier ('mri_watershed not found').
I tried changing FREESURFER_HOME via
mne.set_config
without luck.I manually changed
run_subprocess
, as follow, which fixed the issue.(And if someone opens a PR, you can pass the missing overwrite param here https://github.com/mne-tools/mne-python/blob/master/mne/bem.py#L1156)
The text was updated successfully, but these errors were encountered: