Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import camera_info_manager ModuleNotFoundError: No module named 'camera_info_manager' #77

Open
deepumdev opened this issue Apr 3, 2023 · 3 comments

Comments

@deepumdev
Copy link

I have ros melodic and axisip3935-lr camera. I cloned the github and catkin_make done. Then i tried to launch the node. But, the terminal showed error "import camera_info_manager ModuleNotFoundError: No module named 'camera_info_manager'". How can i rectify it.

@awesomebytes
Copy link
Member

You are missing dependencies, try:

# cd into your catkin_ws, you should see the 'src' folder here (and maybe build/devel/install if you tried to compile)
rosdep install --from-paths src --ignore-src -r

It will pull the declared dependencies in package.xml (if you have more stuff in the workspace, it will install the dependencies for those too).

@deepumdev
Copy link
Author

You are missing dependencies, try:

# cd into your catkin_ws, you should see the 'src' folder here (and maybe build/devel/install if you tried to compile)
rosdep install --from-paths src --ignore-src -r

It will pull the declared dependencies in package.xml (if you have more stuff in the workspace, it will install the dependencies for those too).

I have tried and did catkin_make with camera_info_manager. But it raise an error that self.cname= camera_info_manager.genCameraNqme(self.hostname) AttributeError:module 'camera_info_manager' has no attribute 'genCameraName'. How can i debug it. Could you please help me ?

@civerachb-cpr
Copy link
Collaborator

What branch of axis_camera do you have checked-out? If you're using Melodic (which is now EOL -- I would advise upgrading to Noetic as soon as you reasonably can) you'll need to use the melodic-devel branch of axis_camera, not master or noetic-devel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants