Hi Alberto,
Which versions of PyNN and of NEST are you using?
The current version of PyNN (0.9.6) does not work with NEST 3.0. PyNN 0.10.0 will be released soon (in September), and that will support NEST 3. If you’re happy to install a development version of PyNN from Github, you can use this branch: https://github.com/apdavison/PyNN/tree/nest-3
Andrew
On 27 Aug 2021, at 10:49, Alberto vergani.aa@gmail.com wrote:
Hi,
suddenly, I am starting having this error.
I have both PyNN and Nest installed.
If it's more related to the PyNN community, I will forward this message to them, but at this moment I don't know if it's more related to Nest or PyNN side.
Maybe some of you have met a similar issue.
import pyNN.nest as sim
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/alberto/.local/lib/python3.8/site-packages/pyNN/nest/__init__.py", line 18, in <module> from . import simulator File "/home/alberto/.local/lib/python3.8/site-packages/pyNN/nest/simulator.py", line 261, in <module> state = _State() # a Singleton, so only a single instance ever exists File "/home/alberto/.local/lib/python3.8/site-packages/pyNN/nest/simulator.py", line 58, in __init__ self.spike_precision = "off_grid" File "/home/alberto/.local/lib/python3.8/site-packages/pyNN/nest/simulator.py", line 114, in _set_spike_precision nest.SetKernelStatus({'off_grid_spiking': True}) AttributeError: module 'nest' has no attribute 'SetKernelStatus'
Thanks, Alberto
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org