**> python3 connection_template.py --connect 127.0.0.1:14550
** > Traceback (most recent call last):
** > File “connection_template.py”, line 5, in
** > import exceptions
** > ModuleNotFoundError: No module named ‘exceptions’
I am using python3 and it is showing that exceptions is not there in python3
and when i change there from exceptions to import builtins then it throws another error i.e.
> Traceback (most recent call last): > File "connection_template.py", line 26, in <module> > vehicle = connectMyCopter() > File "connection_template.py", line 19, in connectMyCopter > vehicle = connect(connection_string,wait_ready=True) > File "/usr/local/lib/python3.8/dist-packages/dronekit/__init__.py", line 3170, in connect > vehicle.wait_ready(still_waiting_interval=still_waiting_interval, > File "/usr/local/lib/python3.8/dist-packages/dronekit/__init__.py", line 2374, in wait_ready > raise TimeoutError('wait_ready experienced a timeout after %s seconds.' % > dronekit.TimeoutError: wait_ready experienced a timeout after 30 seconds.