Unity-Technologies / ROS-TCP-Endpoint

ROS package used to create an endpoint to accept ROS messages sent from a Unity scene using the ROS TCP Connector scripts
Apache License 2.0
177 stars 118 forks source link

Upgrade from 0.6 to 0.7 broke Python version #168

Open ahuard0 opened 11 months ago

ahuard0 commented 11 months ago

I'm using ROS1 Noetic, which uses Python 3.8.

The shebang call at the top of default_server_endpoint.py has the line:

#!/usr/bin/env python

This causes rosrun to execute the python script using python2, which is incorrect. It needs to be changed to this shebang in all python files:

#!/usr/bin/env python3