写一篇博客记录一下自己配置ros2环境遇到的问题。
版本:ubuntu24.04,ros:rolling。
问题1:下载了python3.8后终端打不开
解决方法:参考
ubuntu打不开终端的解决方案 - Lumeng - 博客园
问题2:pycharm配置ros2的编译环境,如果不进行配置的话,大概会遇到两个错误:
1.no module named (软件包名),这是没导入ros2相关库。2.cannot open shared object file:no such file or directory,运行时找不到动态库。
解决方法:参考这篇知乎文章https://zhuanlan.zhihu.com/p/552211633?utm_psn=1838344690618990592
和这篇文章