Hi
there may be a version mix-up of Python.
It seems that you have built NEST with python 2.7, but you want to run
it with python 3.8. This leads to problems.
These old NEST versions do not support the latest python.
Best
Steffen
Am 23.11.23 um 07:50 schrieb 1538356357(a)qq.com:
Thank you very much for your reply. I downloaded the
source code from Github and installed it on the Ubuntu system. My Python environment is
3.8.10. I also installed Nest3.3 and it ran successfully. Only Nest2. X series will have
this issue。
Actually, there will be no errors during the installation process. After completing the
environment configuration and testing in the Python environment, I will encounter this
error when import Nest
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license"
for more information.
>> import nest
Traceback (most recent
call last):
File "<stdin>", line 1, in <module>
File
"/home/yao/Documents/nest-simulator-2.18.0-build/lib/python2.7/site-packages/nest/__init__.py",
line 26, in <module>
from . import ll_api # noqa
File
"/home/yao/Documents/nest-simulator-2.18.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)
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org
--
-------------------------------------------------------------------------------------
Steffen Graber
Institute of Neuroscience and Medicine (INM-6)
Computational and Systems Neuroscience &
Institute for Advanced Simulation (IAS-6)
Theoretical Neuroscience &
JARA Institute Brain Structure-Function Relationships (INM-10)
Forschungszentrum Jülich GmbH
http://www.csn.fz-juelich.de
Simulation and Datalab Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Jülich
http://www.fz-juelich.de/ias/jsc/slns
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Stefan Müller
Geschäftsführung: Prof. Dr. Astrid Lambrecht (Vorsitzende),
Karsten Beneke (stellv. Vorsitzender), Dr. Ir. Pieter Jansens
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------