-
Notifications
You must be signed in to change notification settings - Fork 44
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
Can this ROS package be run under ROS1 (ROS melodic)? #43
Comments
Thank you @miao202, for asking your question. My package melodic-devel is compatible with ROS melodic, and you can try pipenv to solve compatibility issues with Python versions. If you need further help, please reopen this issue at any time. |
Thanks for the answer. Since I used python 3.8 to run roslaunch, I also downloaded all the dependencies in python. When I run roslaunch ultralytics_ros tracker.launch debug:=true, I get the error ModuleNotFoundError: No module named 'ultralytics'. So I'm very confused about it.
…---- Replied Message ----
| From | ***@***.***> |
| Date | 01/05/2024 23:19 |
| To | Alpaca-zip/ultralytics_ros ***@***.***> |
| Cc | miao202 ***@***.***>,
Mention ***@***.***> |
| Subject | Re: [Alpaca-zip/ultralytics_ros] Can this ROS package be run under ROS1 (ROS melodic)? (Issue #43) |
Thank you @miao202, for asking your question.
My package melodic-devel is compatible with ROS melodic, and you can try pipenv to solve compatibility issues with Python versions.
If you need further help, please reopen this issue at any time.
Thank you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Dear @miao202 , Previously, I recommended directly installing Python 3.8 on Ubuntu-18.04, but I no longer advise this as it might disrupt dependencies of other packages built for melodic. For information that might be useful to you, please check the old README at the following link: Additionally, please be aware that the Also, as I remember, the ultralytics_ros/script/tracker_node.py Lines 51 to 61 in bd5c2ce
Best regards, |
Dear @miao202 , Have the following commands been completed properly? $ python3 -m pip install -r ultralytics_ros/requirements.txt If ultralytics_ros has been installed correctly, you should see the following: $ python3 -m pip list
Package Version
----------------------------- --------------------
...
ultralytics ****
... |
Can this ROS package be run under ROS1 (ROS melodic)? Since ROS melodic depends on python 2.7, but yolov8 has python >= 3.8, I use $ roslaunch ultralytics_ros tracker.launch debug:=true and get ModuleNotFoundError: No module named 'ultralytics'. Is it possible to run this project under ROS melodic and if so what should I do?
The text was updated successfully, but these errors were encountered: