Robotics StackExchange | Archived questions

TypeError: 'module' object is not callable when trying to run ROS executable

I wrote a ROS2 program that streams from a camera using OpenCV. However, when I try to run the file, I get the following error: .../lib/depthcamera/streamcontinuously", line 33, in sys.exit(loadentrypoint('depth-camera==0.0.0', 'consolescripts', streamcontinuously')()) TypeError: 'module' object is not callable

The program works fine when I just run the python file as opposed to the ROS executable.

Asked by kwasi_dp on 2023-07-19 03:50:38 UTC

Comments

Answers