在安装tes nsorflow2.0之后,我使用catkin_make来编译带有.pt文件的ROS软件包。是错的。
import rosjava_build_tools
文件“ /opt/ros/kinetic/lib/python2.7/dist-packages/rosjava_build_tools/init.py”,第8行, 从create_package导入init_android_package,init_rosjava_package ImportError:无法从“ create_package”(/ home / lyg / anaconda3 / lib / python3.7 / site-packages / create_package / init .py)导入名称“ init_android_package” turtlebot3_msgs / CMakeFiles / turtlebot3_msgs_generate_messages_java_gradle.dir / build.make:69:目标'turtlebot3_msgs / java / turtlebot3_msgs / build.gradle'的配方失败 make [2]: * [turtlebot3_msgs / java / turtlebot3_msgs / build.gradle]错误1 CMakeFiles / Makefile2:816:目标'turtlebot3_msgs / CMakeFiles / turtlebot3_msgs_generate_messages_java_gradle.dir / all'的配方失败 make [1]:* [turtlebot3_msgs / CMakeFiles / turtlebot3_msgs_generate_messages_java_gradle.dir / all]错误2