NeuralEnsemble / PyNN

A Python package for simulator-independent specification of neuronal network models.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with "import pyNN.neuron"

tinaxia2016 opened this issue · comments

I got an error with import pyNN.neuron.

import pyNN.neuron
numprocs=1
Mechanism AdExpIF needs to be re-translated.
It's version 7.5.0 "c" code is incompatible with this neuron version.

I've tried delete all the ".c" or ".o" file in the folder "pyNN/neuron/nmodl" and run nrnivmodl, and got "Successfully created x86_64/special". But the error message still remains when I import pyNN.neuron.

Thanks in advance for your help!

I suspect you may have more than one version of NEURON installed. Could you let us know what you get with

  • which nrnivmodl
  • python -c "import neuron; print(neuron)"