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

ModuleNotFoundError: No module named 'rclpy.lifecycle' #64

Open
shiven2001 opened this issue Dec 11, 2024 · 1 comment
Open

ModuleNotFoundError: No module named 'rclpy.lifecycle' #64

shiven2001 opened this issue Dec 11, 2024 · 1 comment

Comments

@shiven2001
Copy link

[yolo_node-1] File "/home/shiven/niris_ws/install/yolo_ros/lib/python3.8/site-packages/yolo_ros/yolo_node.py", line 26, in <module> [yolo_node-1] from rclpy.lifecycle import LifecycleNode [yolo_node-1] ModuleNotFoundError: No module named 'rclpy.lifecycle' [ERROR] [yolo_node-1]: process has died [pid 47774, exit code 1, cmd '/home/shiven/niris_ws/install/yolo_ros/lib/yolo_ros/yolo_node --ros-args -r __node:=yolo_node -r __ns:=/yolo --params-file /tmp/launch_params_y6t40ff1 -r image_raw:=/camera/rgb/image_raw'].

Please help. I am using ROS2 Foxy

@mgonzs13
Copy link
Owner

@shiven2001 this repo uses lifecycle. Since Foxy is EOL, lifecycle is not available. You can download the lifecycle repo directly in your ros2_ws.

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

2 participants