ImportError instance has no attribute 'message'
Posted: Wed Apr 13, 2011 1:06 pm
Hello,
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
at this stage nrniv command works, i can get the hoc interpreter, :-).
in ./src/nrnpython/ i modified setup.py, by removing 'IVHines', and finally :
seems to make the work, since i can find /usr/lib64/python2.4/site-packages/neuron and the following files inside:
I am short on ideas right now, could anybody help with what might going on, and what I should investigate to manage this installation ?
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 !
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 !