rosinit in virtual machine on azure: invalid python executable

6 ビュー (過去 30 日間)
Kamalova Albina
Kamalova Albina 2022 年 6 月 11 日
回答済み: Jagadeesh Konakalla 2023 年 7 月 24 日
Hello!
I am trying to run my robotic simulation on the virtual machine of azure platform.
the rosinit command returns the error:
>> rosinit
Launching ROS Core...
Invalid Python executable: ''. Use pyenv function to set the path to the Python executable and retry the command.
How to solve this problem? I tried to install python manually, but it seems to me not right
  2 件のコメント
Cam Salzberger
Cam Salzberger 2022 年 6 月 16 日
What do you get as the output when you run "pyenv"?
Kamalova Albina
Kamalova Albina 2022 年 6 月 28 日
It was empty. I solved this problem in the next day. I found the path to the installed python on ubuntu and set it in matlab.
[2] https://www.mathworks.com/matlabcentral/answers/466974-how-to-change-python-path

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

回答 (1 件)

Jagadeesh Konakalla
Jagadeesh Konakalla 2023 年 7 月 24 日
I solved this problem in the next day. I found the path to the installed python on ubuntu and set it in matlab.
[2] https://www.mathworks.com/matlabcentral/answers/466974-how-to-change-python-path

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by