NEURON-6.2 rev 2195 apparently requires Python 2.5.2
Posted: Sat Aug 23, 2008 11:47 pm
I checked out & built revision 2195, and, when I ran neuron with the -python switch, got this warning:
sys:1: RuntimeWarning: Python C API version mismatch for module nrn: This Python has API version 1012, module nrn has version 1013.
I was using Python 2.5.1
I installed Python 2.5.2 and the warning went away.
Mac users like myself should be aware that the version of Python supplied by Apple with OSX 10.5.2 is Python 2.5.1
(I don't know about 10.5.3) http://www.python.org/download/ 's Python2.5.2 installer for OSX installs to /Library/Frameworks/Python.framework, which is different from the native Python location in /System/Library/Frameworks/Python.framework -- however, NEURON seems to handle this transperantly. One still has to copy any modules (including numpy) into /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages
sys:1: RuntimeWarning: Python C API version mismatch for module nrn: This Python has API version 1012, module nrn has version 1013.
I was using Python 2.5.1
I installed Python 2.5.2 and the warning went away.
Mac users like myself should be aware that the version of Python supplied by Apple with OSX 10.5.2 is Python 2.5.1
(I don't know about 10.5.3) http://www.python.org/download/ 's Python2.5.2 installer for OSX installs to /Library/Frameworks/Python.framework, which is different from the native Python location in /System/Library/Frameworks/Python.framework -- however, NEURON seems to handle this transperantly. One still has to copy any modules (including numpy) into /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages