You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed ROS2 in Windows10 x64 Pro with Chocolatey v0.10.3.
C:¥dev¥ros2¥local_setup.bat can not find Python.exe because the default folder where the Python36 is installed by choco is different from "C:¥ProgramData¥Chocolatey¥lib¥Python3¥tools¥Python.exe".
I edited line 26 of local_setup.bat like below:
set "ament_python_executable=C:\ProgramData\chocolatey\lib\python3\tools\python.exe"
set "ament_python_executable=C:\Python36\python.exe"
Then, I got the correct output of the talker/listener examples.
The text was updated successfully, but these errors were encountered:
If from binaries:
It may be because our windows machines building the binaries need to be updated to use the latest version of chocolatey + python.
If building from source:
That may be because you had an older version of chocolatey and python when you built your ROS2 workspace. Since then installed/upgraded your python through chocolatey before sourcing your local_setup.bat
Note: the path to python you can set the environment variable AMENT_PYTHON_EXECUTABLE to override whatever Python executable was used at configure/build time
I installed ROS2 in Windows10 x64 Pro with Chocolatey v0.10.3.
C:¥dev¥ros2¥local_setup.bat can not find Python.exe because the default folder where the Python36 is installed by choco is different from "C:¥ProgramData¥Chocolatey¥lib¥Python3¥tools¥Python.exe".
I edited line 26 of local_setup.bat like below:
Then, I got the correct output of the talker/listener examples.
The text was updated successfully, but these errors were encountered: