I am having difficulties in starting the GUI of NEURON in python.
I am using Enthought Python 6.2 on a WINDOWS XP machine and NEURON as a python module which I compiled myself as described in post viewtopic.php?f=5&t=1970.
This is what I did:
- Install CYGWIN
- Download NEURON and INTERVIEWS from http://www.neuron.yale.edu/ftp/neuron/versions/alpha/
- Extract the two packages in $HOME/nrn and $HOME/iv-17
- In the directory $HOME/iv-17:
Code: Select all
./configure --prefix=`pwd`
make
make install
- In the directory $HOME/nrn:
Code: Select all
./configure --prefix=`pwd` --with-iv=$HOME/iv-17 --with-nmodl-only
make
export PATH=$HOME/bin:/cygdrive/c/Python26/Scripts:$PATH
cp /bin/make $HOME/bin/make
./configure --prefix=`pwd` --without-iv --without-memacs --without-nmodl \
--disable-cygwin --with-nrnpython=/cygdrive/c/Python26/python \
PYINCDIR=c:/Python26/include PYLIB='-Lc:/Python26/libs -lpython26' \
PYLIBDIR=c:/Python26/libs PYLIBLINK='-Lc:/Python26/libs -lpython26' \
use_pthreads=no
make
make mswin
Code: Select all
Error in script "nrnsetup.nsi on line 192 -- aborting creation process
Code: Select all
cd /cygdrive/c/marshalnrn/nrn/bin
cp hocmodule.dll hoc.pyd
Code: Select all
set NEURONHOME=c:/marshalnrn/nrn
set PYTHONPATH=c:/marshalnrn/nrn/lib/python;c:/marshalnrn/nrn/bin
c:\Python26\python
from neuron import h
But when I try to start the GUI with
Code: Select all
from neuron import gui
Can anybody help?