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

Virus-free. www.avast.com

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 on GitHub. This includes v2.20.1, which I would recommend over 2.20.0, as it contains a fix for #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