I am struggling with the installation of neuron, as a python module, on a computer node, equiped with centOS.
Step by step, i installed required packages so that configure, make, make install and setup.py work, but, eventually, i still an error when trying "import neuron" in a python console, that answers.
ImportError instance has no attribute 'message'
I want to skip IV, since i do not need the gui features, and i do not want to install X11, so i install neuron only, in /usr/local/neuron/nrn
Code: Select all
> ./configure --prefix=`pwd` -without-iv --with-nrnpython | tee confiture.log
>make
>make install
in ./src/nrnpython/ i modified setup.py, by removing 'IVHines', and finally :
Code: Select all
> python setup.py install
Code: Select all
doc.py gui.py hoc.so __init__.pyc sections.pyc
doc.pyc gui.pyc __init__.py sections.py tests
I suspect few things:
> does the version of python have any importance 2.4 vs. 2.6 ?
> should i replace 'IVHines' with something else ? what ?
thanks for your help !