indra4837 / yolov4_trt_ros

YOLOv4 object detector using TensorRT engine
MIT License
100 stars 31 forks source link

Ros melodic and python3 compatibility issues #16

Closed Aloukik21 closed 2 years ago

Aloukik21 commented 3 years ago

How to run python3 files with ros melodic as Ros melodic is purely based on python2.7.

indra4837 commented 2 years ago

Hi, you are right. ROS melodic only officially supports Python 2.7. However, you can use python3 on ros melodic by just running python3 ros_script.py or using a virual env. There are a few threads on ROS answers forum on this, do check them out!

indra4837 commented 2 years ago

Closing this issue, feel free to reopen it if you run into other problems!

s-sarahSM commented 2 years ago

@Aloukik21 Can you please tell me how did you solve your problem

havvanurbozomeroglu commented 2 years ago

@s-sarahSM and @Aloukik21 i have same issue. Can you tell me how did you solve your problem? Please.