Error when trying to set the Path for python executable for ROS toolbox preferences
조회 수: 13 (최근 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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270105/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1270120/image.png)
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에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!