Dear Andrew,
I have installed PyNN==0.10.0.dev, but actually I am receiving the same error with nest3
IN the bottom the errors. There two related to nest3, one about the 'install' module and the other about the attribute 'kernel'
Thanks for the hints. Alberto
In [1]: import pyNN as p
In [2]: p.__version__ Out[2]: '0.10.0.dev'
In [3]: import pyNN.nest as sim --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) ~/PyNN/pyNN/nest/simulator.py in __init__(self) 56 try: ---> 57 nest.Install('pynn_extensions') 58 self.extensions_loaded = True
AttributeError: module 'nest' has no attribute 'Install'
During handling of the above exception, another exception occurred:
AttributeError Traceback (most recent call last) <ipython-input-3-3a2fb0d916c8> in <module> ----> 1 import pyNN.nest as sim
~/PyNN/pyNN/nest/__init__.py in <module> 16 import nest 17 ---> 18 from . import simulator 19 from pyNN import common, recording, errors, space, __doc__ 20 from pyNN.common.control import DEFAULT_MAX_DELAY, DEFAULT_TIMESTEP, DEFAULT_MIN_DELAY
~/PyNN/pyNN/nest/simulator.py in <module> 267 # --- Initialization, and module attributes ------------------------------------ 268 --> 269 state = _State() # a Singleton, so only a single instance ever exists 270 del _State
~/PyNN/pyNN/nest/simulator.py in __init__(self) 57 nest.Install('pynn_extensions') 58 self.extensions_loaded = True ---> 59 except nest.kernel.NESTError as err: 60 self.extensions_loaded = False 61 self.initialized = False
AttributeError: module 'nest' has no attribute 'kernel'
Il giorno ven 27 ago 2021 alle ore 11:35 Alberto vergani.aa@gmail.com ha scritto:
Hi Andrew,
yes, I have PyNN == 0.9.6, so I will try to downgrade to see if that's the issue.
In the other case, I can install the development version of PyNN
Thanks for the information, Alberto
Il giorno ven 27 ago 2021 alle ore 11:21 Andrew Davison < andrew.davison@unic.cnrs-gif.fr> ha scritto:
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
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
-- Vergani, AA