rosinit error in 2022b on Linux

3 ビュー (過去 30 日間)
鑫
2022 年 11 月 26 日
Hi,
I just installed the ROS toolbox in Matlab2022b in Ubuntu18.04, and type rosinit in the command window.
But it shows that:
Launching ROS Core...
Path to Python Executable is not set. Set the path to the Python executable using ROS Toolbox preferences.
Then I choose python3.9 in ROS Toolbox preferences.
But it told me that:
Invalid Python Version 3.9.15.Supported Python Version is 3.9.x.
Could anyone help me on figuring out this issue?
Thank you so much

回答 (1 件)

Jagadeesh Konakalla
Jagadeesh Konakalla 2022 年 11 月 28 日
The error is confusing and our team is working to fix this issue. Can you please install 3.9.13 and try it? It will work.
Thanks,
Jagadeesh K
  6 件のコメント
鑫
2022 年 12 月 12 日
I just reinstalled python, but it seems useless. And I can't check out what's wrong. It's so weirdly.
Karthik Reddy Vennapureddy
Karthik Reddy Vennapureddy 2022 年 12 月 12 日
Hi Jestzer,
Could you please provide the command you executed to install python? Regarding the above error:
ModuleNotFoundError: no module named '_ctypes'. Looks like libff-dev is not installed in your pc. Could you install libffi-dev using this command : sudo apt-get install libffi-dev
After installing libffi-dev, try rerunning 'ros.internal.createOrGetLocalPython(true)' and see if it works fine.
Thanks,
Karthik Reddy

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by