Hi everybody,
I'm relativelly new to linux (I'm running Xubuntu). I'm trying to install NEURON on my quadcore machine. I got the RPM 64bit file and I converted it (with alien) to a debian version. Neuron was successfully installed but when I tried to run it from the terminal I got this message:
/usr/local/nrn/x86_64/bin/nrniv: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory
Any help?
Thanks in advace,
Michele
Installing NEURON on XUBUNTU
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Sometimes an "error message" is merely a "notification." That may be the case here (unless
you're planning to use Python with NEURON). To find out, open an xterm and type
neurondemo
then select the "Release" demo. Click on the "Init & Run" button. If it runs (graphs will show
a spike and time course of ionic currents and conductances), all the stuff that NEURON
uses every day is fine.
you're planning to use Python with NEURON). To find out, open an xterm and type
neurondemo
then select the "Release" demo. Click on the "Init & Run" button. If it runs (graphs will show
a spike and time course of ionic currents and conductances), all the stuff that NEURON
uses every day is fine.
problem persists
Hi Ted, thanks for the reply. If I run neurondemo on the xterm I get the same message :( I've also tried to install the python libraries that are missing but nothing happened... any advice?
Re: Installing NEURON on XUBUNTU
Hi There again,
I run again in the same problem, when in the Xterm I type "neurondemo" neuron comes out but when I click on "init&run" nothing happens...
Regards,
Michele
I run again in the same problem, when in the Xterm I type "neurondemo" neuron comes out but when I click on "init&run" nothing happens...
Regards,
Michele
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Installing NEURON on XUBUNTU
There is a panel with a bunch of buttons labeled
Patch: HH
Stylized
Pyramidal
Release
etc.
You have to select a model by clicking on one of those buttons before Init & Run will do anything useful.
So: did you select a model first, and then click on Init & Run?
Patch: HH
Stylized
Pyramidal
Release
etc.
You have to select a model by clicking on one of those buttons before Init & Run will do anything useful.
So: did you select a model first, and then click on Init & Run?
-
- Posts: 2
- Joined: Fri Mar 08, 2019 3:05 pm
Re: Installing NEURON on XUBUNTU
Try these if anybody else encounters this problem:
1) If you are using bash, export LD_LIBRARY_PATH="/usr/local/nrn/x86_64/bin/nrniv"
If you are using tcsh, setenv LD_LIBRARY_PATH /usr/local/nrn/x86_64/bin/nrniv
basically add the libpython2.4.so.1.0 path to LD_LIBRARY_PATH. If it works, add the command to the bashrc file so that you don't have to do it everytime you open the terminal. Or, if it does not work,
2) Instead of nrniv, run sudo nrniv. Worked for me.
PS: am noob to linux, so if anyone has any better solution or knows what is going on, please reply.
1) If you are using bash, export LD_LIBRARY_PATH="/usr/local/nrn/x86_64/bin/nrniv"
If you are using tcsh, setenv LD_LIBRARY_PATH /usr/local/nrn/x86_64/bin/nrniv
basically add the libpython2.4.so.1.0 path to LD_LIBRARY_PATH. If it works, add the command to the bashrc file so that you don't have to do it everytime you open the terminal. Or, if it does not work,
2) Instead of nrniv, run sudo nrniv. Worked for me.
PS: am noob to linux, so if anyone has any better solution or knows what is going on, please reply.