Error when trying to set the Path for python executable for ROS toolbox preferences
11 次查看(过去 30 天)
显示 更早的评论
I am trying to run rosinit but I get this error:
"Path to Python Executable is not set. Set the path to the Python executable using ROS Toolbox preferences"
and when I give the correct path, it doesnt work and I get this error: (Although the correct version is specified)
How to solve it?
Im using R2022b
0 个评论
回答(1 个)
Josh Chen
2023-1-20
Hello Nabil,
Sorry about the confusing error message, team is working on improving this error message.
As for now, please try to install and provide the path to python3.9.13 in "ROS Toolbox preferences".
Hope this helps,
Thanks,
Josh
6 个评论
Josh Chen
2023-1-21
Oh I see.
If you run
$ which python3
or
$ which python3.9
on your linux terminal, are you able to see an output? If yes, you can choose that file in the ROS Toolbox Preferences.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!