Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error with "import pyNN.neuron" #712

Open
tinaxia2016 opened this issue Feb 24, 2021 · 1 comment
Open

Error with "import pyNN.neuron" #712

tinaxia2016 opened this issue Feb 24, 2021 · 1 comment

Comments

@tinaxia2016
Copy link

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!

@apdavison
Copy link
Member

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 apdavison added this to the future milestone Dec 1, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants