历史问题集合

1.ImportError: cannot import name utils_paths
遇到此问题的情景:下载的别人的文件,然后导入模块部分显示没有my_utils这个模块。
解决过程:首先想到缺什么补什么,可是下载完发现里面并没有utils_path这个py,检查发现下载的文件中有这个。
于是import sys
sys.path.append()
然后就出现了这个问题。想到把它直接放到和脚本一个路径下import,不过后来移回my_utils时产生了init.py这个文件,这个问题就没了,大概是IDE编译了一下?

2.roslaunch turtlebot3_gazebo turtlebot3_stage_1.launch[turtlebot3_stage_1.launch] is neither a launch file in package [turtlebot3_gazebo] nor is [turtlebot3_gazebo] a launch file name
The traceback for the exception was written to the log file

解决方案:source /home/XX/catkin_ws/devel/setup.bash

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值