ROSOnWindows
ROSOnWindows copied to clipboard
windows_wrappers\Project__setup_util.py_exec_install_python\_setup_util.exe not found or not built by the last incremental link;
Describe the bug
When I run rosrun moveit_tutorials move_group_python_interface_tutorial.py
,
ROS complains: [rosrun] Couldn't find executable named move_group_python_interface_tutorial.py
I check the catkin_make output, and can not find the python related build process but:
[ 3%] Building CXX object CMakeFiles/Project__setup_util.py_exec_install_python.dir/catkin_generated/add_python_executable/Project__setup_util.py_exec_install_python/_setup_util.cpp.obj _setup_util.cpp [ 6%] Linking CXX executable catkin_generated\windows_wrappers\Project__setup_util.py_exec_install_python_setup_util.exe LINK : catkin_generated\windows_wrappers\Project__setup_util.py_exec_install_python_setup_util.exe not found or not built by the last incremental link; performing full link [ 6%] Built target Project__setup_util.py_exec_install_python [ 10%] Building CXX object moveit_tutorials/doc/kinematics/CMakeFiles/ros_api_tutorial.dir/src/ros_api_tutorial.cpp.obj ros_api_tutorial.cpp
which seems to indicate that the python related setup is not correct.
For your clearance, I attached the whole output as an attach. ms-melodic-moveit-catkinmake 20211117112600.log
To Reproduce
I installed ROS melodic on windows according to: http://wiki.ros.org/Installation/Windows I get moveit on windows according to "MoveIt Tutorials on Windows" (https://ms-iot.github.io/ROSOnWindows/Moveit/moveit_tutorials.html)
- Catkin workspace setup instructions
as above
- Clone locations as above
- build command line
catkin_make
- Launch command line
rosrun moveit_tutorials move_group_python_interface_tutorial.py
Expected behavior
If it works, I should be able to see the "Move Group Python Interface" (http://docs.ros.org/en/melodic/api/moveit_tutorials/html/doc/move_group_python_interface/move_group_python_interface_tutorial.html) But ROS can not find the python script and I suspect that the python environment setup is not correct.
Environment information:
-
OS version:
winver
: Win10 Pro 21H1 19043.1320 -
Chocolatey Versions:
choco list --local-only
Chocolatey v0.11.3 chocolatey-core.extension 1.3.5.1 chocolatey-windowsupdate.extension 1.0.4 KB2919355 1.0.20160915 KB2919442 1.0.20160915 KB2999226 1.0.20181019 KB3033929 1.0.3 KB3035131 1.0.3 ros-foxy-desktop 20201211.0.0.2104300001 ros-melodic-desktop_full 20201221.0.0.2104300002 ros-noetic-desktop_full 20201214.0.0.2104301300 vcredist140 14.30.30704 vcredist2010 10.0.40219.32503 12 packages installed