catkin_make failing, looking for argparse
I've burned a day searching around for a solution and have had no luck. I'm trying to get an install of ROS for Windows running and have followed the basic install instructions here. The install of ros-melodic-desktop worked (with the exception of vcredist140/v14.16.27027.1 because the install of VS community has a newer version/v14.16.27029.1) with these packages installed:
The upgrade of ros-melodic-desktop was successful.
Software installed to 'c:\opt\ros
Upgraded:
- kb2919355 v1.0.20160915
- kb3033929 v1.0.4
- kb2999226 v1.0.20181019
- ros-catkin-tools v0.0.1.1903221831
- ros-python2 v2.7.15.1809242354
- ros-melodic-desktop v20190325.1
- kb2919442 v1.0.20160915
- kb3035131 v1.0.2
SO I moved on to the tutorials which start with creating the catkin workspace. When I run catkin_make I end up with the following relatively commonly reported problem (google search) with packages referencing python2.7
pkg_resources.DistributionNotFound: The 'argparse' distribution was not
found and is required by catkin-pkg
All of these problem reports link back to the fact that argparse is not a separate package in P2.7 and suggest removing it from the required list. I tried that solution and just banged into the next missing dependency.
CMake Error at C:/opt/ros/melodic/x64/share/catkin/cmake/empy.cmake:29 (message):
Unable to find either executable 'empy' or Python module 'em'... try
installing the package 'python-empy'
Am I missing something basic here? It would seem that others have been able to install melodic and get the workspace up and running.
I hope I've picked the correct tags. There seems to be several dozen "windows" tags with little consensus on which the MS devs are watching. The tags box at the bottom of the new question submit form filters out most of the tags I would think are relevant based upon the larger search results you get when searching in the forum.
[HELP] I can search on the tag "Windows" in the tag search in the right hand column but I can't actually edit and add that tag to the post!
You most likely hit this issue: https://github.com/ms-iot/ROSOnWindow... Please kindly check it out and see if the resolution works for you. Thanks!
@Sean Yen ~~I gave the suggested workaround a try but same results~~ I left a comment on the issue in GitHub.
Correction: I botched argparse (argSparse) in requires.txt. I corrected requires.txt and executed the catkin_make again.
It's now reporting the dependency PY_em missing: