I have installed NEURON + Python on many different systems but for some reason am hitting a wall while trying to do "import neuron" on the Comet supercomputer (CentOS 6.10). I followed the instructions at https://neuron.yale.edu/neuron/download/compile_linux and am downloading NEURON 7.6.5. Default Python on the system is 2.6.6.
I can run "nrniv" and "nrniv -python" without a problem but I cannot run python and then "import neuron".
In the installation process, I did this step:
Code: Select all
python setup.py install --prefix=$HOME/local
"lib/python2.6/site-packages/neuron" has no contents except help_data.dat so if I set my PYTHONPATH to this and attempt to import neuron, I get the classic error "no module named neuron".
"lib64/python2.6/site-packages/neuron" has some contents so I set my PYTHONPATH to this. However, when I run python and "import neuron" or "from neuron import h" I get a single line that says "Segmentation fault".
Any ideas? Thanks in advance!
Ben