catkin build
失败是由于
Errors << mavlink:make /home/eia-lab1/catkin_ws/logs/mavlink/build.make.005.log
Traceback (most recent call last):
File "/home/eia-lab1/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
from pymavlink.generator import mavgen
File "/home/eia-lab1/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 26, in <module>
from future import standard_library
ImportError: No module named future
make[2]: *** [paparazzi-v2.0-cxx-stamp] Error 1
make[1]: *** [CMakeFiles/paparazzi.xml-v2.0.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "/home/eia-lab1/catkin_ws/src/mavlink/pymavlink/tools/mavgen.py", line 16, in <module>
from pymavlink.generator import mavgen
File "/home/eia-lab1/catkin_ws/src/mavlink/pymavlink/generator/mavgen.py", line 26, in <module>
from future import standard_library
ImportError: No module named future
make[2]: *** [matrixpilot-v2.0-cxx-stamp] Error 1
make[1]: *** [CMakeFiles/matrixpilot.xml-v2.0.dir/all] Error 2
make: *** [all] Error 2
尽管安装了未来。
$ pip list | grep fut
future 0.18.2
我已经尝试过以下方法:
$ pip install -U future
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: future in /home/eia-lab1/.local/lib/python3.6/site-packages (0.18.2)
$ sudo -H pip install future
Requirement already satisfied: future in /usr/lib/python3/dist-packages (0.15.2)
$ python3 -m pip install future
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: future in /home/eia-lab1/.local/lib/python3.6/site-packages (0.18.2)
$ pip install future
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: future in /home/eia-lab1/.local/lib/python3.6/site-packages (0.18.2)
$ pip3 install future
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: future in /home/eia-lab1/.local/lib/python3.6/site-packages (0.18.2)
资源:
我开始认为这可能是路径采购问题!?我正在使用 Ubuntu 18.04 LTS。