神经元和Python安装

时间:2018-01-23 13:12:39

标签: python linux neuroscience

早上好,

我安装了Neuron 7.4,它运行良好(我运行了几个神经元模型的模拟),我想用它作为python的解释器。

当我输入('$ nrngui -nopython')时,会启动NEURON。 但是,当我输入('$ nrngui')时,我得到了以下错误:

// ==============================

NEURON -- Release 7.4 (1370:16a7055d4a86) 2015-11-09
Duke, Yale, and the BlueBrain Project -- Copyright 1984-2015
See http://www.neuron.yale.edu/neuron/credits

ImportError: No module named site
Py_Initialize exited. PYTHONHOME probably needs to be set correctly.
Our automatic guess based on the Python shared library location:
    export PYTHONHOME=/usr/lib
did not work.
It will help to examine the output of:
nrnpyenv.sh
and set the indicated environment variables, or avoid python by adding
nopython: on
to /usr/local/nrn/share/nrn/lib/nrn.defaults (or .nrn.defaults in your $HOME directory)

// ==============================

我在Debian Jessie 8.10(x86-64)下运行,我的内核是3.16.0-5-amd64。我对debian / linux / jessie环境的了解不多,因为我习惯在Windows下运行。

我的最终目标是安装LFPy和LFPsim。

如果你能帮助我,那就太好了!

谢谢

0 个答案:

没有答案