Hi!
NEST 3.x (which is definitely what you should use) is indeed Python 3
only. Python 2 has been dead now since two and a half years... Here's
an article on how to build ROS with support for Python 3:
https://www.miguelalonsojr.com/blog/robotics/ros/python3/2019/08/20/ros-mel…
Cheers,
Jochen!
On 26.05.22 11:14, salvatore.taffara(a)phd.unict.it wrote:
If I use the rosrun command I have:
salvo@salvo-Aspire-GX-781:~/Desktop/ros_ws/src/pacchetto_ros/scripts$ rosrun
pacchetto_ros
sub_vrep.py
Traceback (most recent call last):
File "/home/salvo/Desktop/ros_ws/src/pacchetto_ros/scripts/sub_vrep.py",
line
5, in <module>
import nest
File "/usr/lib/python3.6/dist-packages/nest/__init__.py", line 26, in
<module>
from . import ll_api # noqa
File "/usr/lib/python3.6/dist-packages/nest/ll_api.py", line 72, in
<module>
from . import pynestkernel as kernel # noqa
ImportError: dynamic module does not define init function (initpynestkernel)
The problem maybe is due to the fact that to import nest i have to use python3 but
Melodic is based on python2...
_______________________________________________
NEST Users mailing list -- users(a)nest-simulator.org
To unsubscribe send an email to users-leave(a)nest-simulator.org
--
Dr. Jochen Martin Eppler
Phone: +49(2461)61-96653
----------------------------------
Simulation Laboratory Neuroscience
Jülich Supercomputing Centre
Institute for Advanced Simulation