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@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@nest-simulator.org To unsubscribe send an email to users-leave@nest-simulator.org