MISTLab / Swarm-SLAM

Sparse Decentralized Collaborative Simultaneous Localization and Mapping Framework for Multi-Robot Systems
https://lajoiepy.github.io/cslam_documentation/html/index.html
MIT License
391 stars 40 forks source link

When I run the launch file , cant find some ros2 basic .so files with python3.9 #27

Closed lovetts closed 9 months ago

lovetts commented 9 months ago

Hi ! Developer. I meet an issue about python version. The ROS 2 core is written in Python 3.8, but the code requires some static libraries from Python 3.9 in ROS 2.

After I activate conda with Python3.9 ,run graco_lidar.launch.py

The C extension '/opt/ros/foxy/lib/python3.8/site-packages/rclpy/_rclpy.cpython-39-x86_64-linux-gnu.so' isn't present on the system. Please refer to 'https://index.ros.org/doc/ros2/Troubleshooting/Installation-Troubleshooting/#import-failing-without-library-present-on-the-system' for possible solutions [ERROR] [loop_closure_detection_node.py-3]: process has died [pid 4289, exit code 1, cmd '/home/minnbo/Swarm-SLAM/install/cslam/lib/cslam/loop_closure_detection_node.py --ros-args -r __node:=cslam_loop_closure_detection -r __ns:=/r0 --params-file /home/minnbo/Swarm-SLAM/install/cslam_experiments/share/cslam_experiments/config/graco_lidar.yaml --params-file /tmp/launch_params_f57br9_b']. Screenshot from 2023-12-01 09-54-59 I have tried rename the file name 38 to 39 Screenshot from 2023-12-01 09-58-55

but it still have some other moudles cant be found and cant fix this issue Thank you! Developer

HaynesLi commented 8 months ago

I met the same problem in the Visualization launch. How did you solve it?

lovetts commented 8 months ago

I met the same problem in the Visualization launch. How did you solve it?

i turn to use python 3.8 and use another version of open3D which in the requirements file is 0.16 version need python 3.9