catkin_make_isolated: ImportError: No module named genmsg
Installing ROS on macOS Sierra, and having solved lots of expected road bumps, I asymptotically approach a success. Late in the game, I encountered this error. Any tips would be greatly appreciated!
Command:
./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
Result:
/Users/pitosalas/ros_catkin_ws/install_isolated/share/genmsg/cmake/pkg-genmsg.cmake.em:56: error: <type 'exceptions.ImportError'>: No module named genmsg
Traceback (most recent call last):
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 3302, in <module>
if __name__ == '__main__': main()
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 3300, in main
invoke(sys.argv[1:])
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 3283, in invoke
interpreter.wrap(interpreter.file, (file, name))
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 2295, in wrap
self.fail(e)
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 2284, in wrap
callable(*args)
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 2359, in file
self.safe(scanner, done, locals)
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 2401, in safe
self.parse(scanner, locals)
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 2421, in parse
token.run(self, locals)
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 1425, in run
interpreter.execute(self.code, locals)
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 2595, in execute
_exec(statements, self.globals, locals)
File "/private/var/folders/wt/gdp99zk528v86ymjf71rs32c0000gn/T/pip-build-VolvjY/empy/em.py", line 42, in _exec
exec("""exec code in globals""")
File "<string>", line 1, in <module>
File "<string>", line 5, in <module>
ImportError: No module named genmsg