OK, thanks,
I have installed nest 2.20, but now having this issue related the calling with pyNN
the idea is to use python3.8, but seems it's going to use python2.7, is this the possible issue?
Thanks Alberto
Python 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.
import pyNN import pyNN.nest
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 16, in <module> import nest File "/home/alberto/nest-simulator-2.20.0-build/lib/python2.7/site-packages/nest/__init__.py", line 26, in <module> from . import ll_api # noqa File "/home/alberto/nest-simulator-2.20.0-build/lib/python2.7/site-packages/nest/ll_api.py", line 72, in <module> from . import pynestkernel as kernel # noqa ImportError: dynamic module does not define module export function (PyInit_pynestkernel)
Il giorno gio 4 nov 2021 alle ore 09:54 Robin Gilbert De Schepper < robingilbert.deschepper@unipv.it> ha scritto:
Sorry,the "sudoku" is a typo on my tiny phone keyboard;) that should be:
sudo apt-get install python3-dev
On Thu, 4 Nov 2021, 09:52 Robin Gilbert De Schepper, < robingilbert.deschepper@unipv.it> wrote:
You will have to install the Python development libraries on your system (sudoku apt-get , and/or use the CMake configuration option -DPYTHON_INCLUDE_DIR to point to the folder containing it.
Lucky you, it is also a highly Google-able error: "missing Python.h" should help you out!
Best regards
On Thu, 4 Nov 2021, 09:49 Alberto, vergani.aa@gmail.com wrote:
Dear experts,
I am trying to install nest 2.20.0 from source, but I am receving this error. It seems related to pynest.
Any hints?
Thanks Alberto
Scanning dependencies of target nest [ 97%] Building CXX object nest/CMakeFiles/nest.dir/neststartup.cpp.o [ 97%] Linking CXX executable nest [ 99%] Built target nest [ 99%] Building CXX object pynest/CMakeFiles/pynestkernel.dir/pynestkernel.cxx.o /home/alberto/nest-simulator-2.20.0-build/pynest/pynestkernel.cxx:4:10: fatal error: Python.h: No such file or directory 4 | #include "Python.h" | ^~~~~~~~~~ compilation terminated. make[2]: *** [pynest/CMakeFiles/pynestkernel.dir/build.make:68: pynest/CMakeFiles/pynestkernel.dir/pynestkernel.cxx.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1030: pynest/CMakeFiles/pynestkernel.dir/all] Error 2 make: *** [Makefile:141: all] Error 2
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avast.com https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#m_2128122311878736231_m_-8613768935523884505_m_5228272850566082312_m_1847617371376018487_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Il giorno gio 14 ott 2021 alle ore 17:10 Jochen Martin Eppler < j.eppler@fz-juelich.de> ha scritto:
Dear Alberto,
the old releases are still available https://github.com/nest/nest-simulator/releases on GitHub. This includes v2.20.1 https://github.com/nest/nest-simulator/releases/tag/v2.20.1, which I would recommend over 2.20.0, as it contains a fix for #1394 https://github.com/nest/nest-simulator/issues/1394, which could lead to wrong simulation results under certain circumstances.
Cheers, Jochen!
On 14.10.21 16:35, Alberto wrote:
Dear experts,
I'd like to install the Nest version 2.20.0 instead of the last 3.1.
Is it still available for download?
Thanks Alberto
NEST Users mailing list -- users@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org
-- Dr. Jochen Martin Eppler Phone: +49(2461)61-96653
Simulation Laboratory Neuroscience Jülich Supercomputing Centre Institute for Advanced Simulation
Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Volker Rieke Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Dr. Astrid Lambrecht, Prof. Dr. Frauke Melchior
-- Vergani, AA
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