MaverickPeter / MR_SLAM

[IEEE T-RO 2023] A modularized multi-robot SLAM system with elevation mapping and a costmap converter for easy navigation. Different odometry and loop closure algorithms can be easily integrated into the system.
MIT License
266 stars 20 forks source link

ImportError: No module named pygicp #4

Open citaer opened 1 year ago

citaer commented 1 year ago

this occured because after clone the third party codes in Fast GICP repo, you need to use the command as follows to install pygicp module.

cd fast_gicp
python3 setup.py install

but after install the pygicp, when import pygicp in python, you may get the error report as 'ImportError: dynamic module does not define module export function', and you can solve this problem by renaming /usr/include/python2.7 to something else, installing the package with setup.py as mentioned above and then renaming the folder back to python2.7. This idea comes from the issue in fast_gicp