Error when trying to set the Path for python executable for ROS toolbox preferences

11 ビュー (過去 30 日間)
Nabil
Nabil 2023 年 1 月 20 日
コメント済み: Josh Chen 2023 年 1 月 21 日
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

回答 (1 件)

Josh Chen
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 件のコメント
Nabil
Nabil 2023 年 1 月 21 日
Thanks again for following up.
Yes I made same steps to download python3.9.13 and I got at the end the file in the above screenshot. Even if I followed your tutorial (which is what I did), which file should I choose in the ROS Toolbox Preferences to make it work.
Josh Chen
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 ExchangeCall Python from MATLAB についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by