OK, thanks it actually was an August release I think, but I went for re-install anyway. Naturally I can't run any of my scripts now, so I am making a very fresh start.
The banner NOW is:
Code: Select all
NEURON -- VERSION 7.5 master (6b4c19f) 2017-09-25
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2016
See http://neuron.yale.edu/neuron/credits
>>>
Don't recall how to unset PYTHONHOME....
but if I run nrnpyenv.sh I get:
Code: Select all
bash.exe"-3.1$ nrnpyenv.sh
# items in sys.path = 16
# beginning with sys.prefix = 13
# beginning with site-3 = 13
# in neither location ['.', '/c/nrn/ningw/bin', '/c/nrn/lib/python']
# sys.prefix = /c/ProgramData/Anaconda2
# site-3 = /c/ProgramData
# if launch python, then need:
export PYTHONPATH="/c/ProgramData/Anaconda2:/c/nrn/ningw/bin:/c/ProgramData/Anaconda2/scripts:/c/nrn/lib/python"
# if launch nrniv, then likely need:
export PYTHONHOME="/c/ProgramData/Anaconda2"
export PATH="/c/ProgramData/Anaconda2/Library/bin:$PATH"
export NRN_PYLIB="c:/ProgramData/Anaconda2/python27.dll"
bash.exe"-3.1$
If I run
import sys
from my new nrn_python window
I get
Code: Select all
['c:\\nrn\\bin', '', 'c:\\nrn\\bin', 'c:\\ProgramData\\Anaconda2', 'c:\\nrn\\nin
gw\\bin', 'c:\\ProgramData\\Anaconda2\\scripts', 'c:\\nrn\\lib\\python', 'c:\\Pr
ogramData\\Anaconda2\\python27.zip', 'c:\\ProgramData\\Anaconda2\\DLLs', 'c:\\Pr
ogramData\\Anaconda2\\lib', 'c:\\ProgramData\\Anaconda2\\lib\\plat-win', 'c:\\Pr
ogramData\\Anaconda2\\lib\\lib-tk', 'c:\\nrn\\bin', 'c:\\ProgramData\\Anaconda2\
\lib\\site-packages', 'c:\\ProgramData\\Anaconda2\\lib\\site-packages\\Sphinx-1.
6.2-py2.7.egg', 'c:\\ProgramData\\Anaconda2\\lib\\site-packages\\win32', 'c:\\ProgramData\\Anaconda2\\lib\\site-packages\\win32\\lib',
'c:\\ProgramData\\Anaconda2\\lib\\site-packages\\Pythonwin', 'c:\\ProgramData\\Anaconda2\\lib\\site-packages\\setuptools-27.2.0-py2.7.egg', 'c:/nrn/lib/python']
I am not quite sure what to do now... having re-installed Neuron, of course I can't run any of my scripts (I presume because the paths are all wrong), but I wondered if I should await advice before re-setting that up in case it is the very way I did it that created the problem in the first place?
Thank you for your help.
Richard