luxai-qtrobot / QA

Virtual repository for Questions & Answers system
http://luxai-qtrobot.github.io
5 stars 0 forks source link

Do you have recommendations for running Python 3 programs on QT? #20

Open RMichaelSwan opened 4 years ago

RMichaelSwan commented 4 years ago

Since Python 2 is being deprecated and many ML models are in Python 3, it is nigh vital that we be able to get Python 3 code running under ROS on QT. That said, there are some dependency issues (ROS Kinetic shares Python 2.7 libraries globally through the env path), especially if trying to run OpenCV in Python 3. I have done some research on the problem, but I was wondering if you already have some solution that you like.

apaikan commented 4 years ago

We have used python3 with ROS Kinetic simply following these instructions: https://medium.com/@beta_b0t/how-to-setup-ros-with-python-3-44a69ca36674

If this thread doesn't help, remember that you have not binded to ROS Kinetic on QTrobot NUC. you can simply remove the Kinetic and install the newer version such as Melodic.