PyNN icon indicating copy to clipboard operation
PyNN copied to clipboard

Error with "import pyNN.neuron"

Open tinaxia2016 opened this issue 3 years ago • 1 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!

tinaxia2016 avatar Feb 24 '21 04:02 tinaxia2016

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)"

apdavison avatar Nov 09 '21 09:11 apdavison