rosinit in virtual machine on azure: invalid python executable

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

What do you get as the output when you run "pyenv"?
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일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품

릴리스

R2021b

질문:

2022년 6월 11일

답변:

2023년 7월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by