在Ubuntu 20.04上安装fast-planner的过程中,遇到以下错误:
1、
CMake Error at /opt/ros/noetic/share/catkin/cmake/empy.cmake:30 (message):
Unable to find either executable ‘empy’ or Python module ‘em’… try
installing the package ‘python3-empy’
由于ros与anaconda冲突引起,使用以下命令解决
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
2、Could not find a package configuration file provided by “nlopt“ with any of the following name
使用以下命令解决
sudo apt-get install ros-noetic-nlopt
注意:
这是在Ubuntu 20.04下的指令,Ubuntu20.04中的ROS版本是noetic,如果你的Ubuntu版本不是20.04,则把指令中的noetic换成你的ROS版本即可。