Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3"
I am quite new to ROS2 and I am trying to build a package with "colcon build --packages-select". I am running ROS2 dashing on Windows through "x64 Native Tools Command Prompt for VS 2017".
I get a "CMake Error" when trying build the package:
"CMake Error at C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.12/Modules/FindPackageHandleStandardArgs"
Followed by: "Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3" (found C:/Users/uie56854/AppData/Local/Microsoft/WindowsApps/python3.exe)..."
I did find a similar issue and solution in the link below yet it is for ROS1: https://github.com/ms-iot/ROSOnWindow...
Any advice would be greatly appreciated. Thank you in advance.
This post seems similar to your problem. I think you should choose the newer LTS ROS2 version, there is ROS 2 Foxy for Windows 2 - some of the installing prerequisites could help you with the setup.