ros noetic 与anaconda冲突 踩坑记录(自用)

本文解决了在学习ROSWIKI过程中使用rqt_graph出现的modulenotfounderror错误。通过禁用Anaconda的自动激活功能,成功避免了Noetic与Anaconda之间的冲突。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

2022/11/03

学习ROS WIKI的时候,使用rqt_graph报错:modulenotfounderror:no module named 'rospkg'

网上查了一大圈,发现是noetic和anaconda的冲突

根本原因是anaconda自动activate,原博客是这样写的:

On ubuntu, the same issue I faced but after conda deactivate these issues are resolved.

I think if we have installed noetic or any distro as said in guide, the anaconda python is creating the problem.

try conda deactivate and it should be fine.
perhaps it would be nice if you turn off auto activation of base of conda using conda config --set auto_activate_base false

按照以上操作完,果然不再报错~ 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值