Closed mattdutson closed 4 years ago
In general with PyNN you shouldn't access classes from sub-modules, but directly from the top level, i.e. from sim
.
The line should be population = sim.Population(100, sim.IF_curr_exp())
My mistake. That fixed my issue. Thanks for the reply.
I'm running Ubuntu 18.04, Python 3.6, and PyNN 0.9.5. This issue has ocurred both with NEST 2.20 installed through APT and NEST 2.18 built from source.
NEST 2.20 through APT
NEST 2.18 from source
Install build prerequisites as described in the NEST documentation. Then:
Reproducing
I've also tried
pip install --no-binary :all: pyNN==0.9.5
as recommended here.Then, in a Python prompt:
Stack trace