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, theanaconda
python is creating the problem.try
conda deactivate
and it should be fine.
perhaps it would be nice if you turn off auto activation ofbase
of conda usingconda config --set auto_activate_base false
按照以上操作完,果然不再报错~