MarcelBeining/T2N

Problem with NEURON 7.7 and Win10 (python permission denied)

MarcelBeining opened this issue · 1 comments

Error message

C:/nrn/bin/nrnpyenv.sh line 141:
/cygdrive/c/Users/XXX/AppData/Local/Microsoft/WindowsApps/python3:
Permission Denied

Solution using this article:
https://www.neuron.yale.edu/phpBB/viewtopic.php?t=4139

I have faced the same problem but solved it because of this line:

So in the nrnpyenv.sh file, I modify the code setting the PYTHON variable equal to the crazy path above (in the part just below "$WHICH python3", line 83 for me)

by changing the next line to:
PYTHON="/cygdrive/c/ProgramData/Anaconda3/python.exe"

here I have pointed to the Anaconda installed directory.

Thank you for your fix.