python not available

Post Reply
iboardman
Posts: 2
Joined: Mon Jul 12, 2010 5:23 pm

python not available

Post by iboardman »

From what I read, installing neuron 7.1 should let me run nrniv -python and get an embedded python. What I get is the error "Python not available." From what I see in the rpm, there's libnrnpython* and a lib/python/neuron/ directory containing some python modules. I don't find any "hoc.py". My LD_LIBRARY_PATH includes this: $NRNHOME/i686/lib:$IVHOME/i686/lib pointing to the corresponding installed lib directories. Do I have the wrong package? Do I have to build from source after all? Thanks very much.
ted
Site Admin
Posts: 5784
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: python not available

Post by ted »

I suspect you have to build from source code.
iboardman
Posts: 2
Joined: Mon Jul 12, 2010 5:23 pm

Re: python not available

Post by iboardman »

Ok. That is what Andrew Davison thought as well, and now that's done. Seems to be working. Thanks.
-- Ian
ted
Site Admin
Posts: 5784
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: python not available

Post by ted »

Some people have to compile, others don't. Depends on details of their pre-existing Python.
Post Reply