-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello,
I have been using the cyb3r_vector_sdk successfully with Raspberry Pi (Wire-Pod) for some time now.
Since Raspberry Pi OS Bookworm external Python packages run in a virtual environment.
When I install the cyb3r_vector_sdk with pip there and run 01_hello_world.py I get the following error message:
Traceback (most recent call last): File "/home/pi/VectorApps/helloWorld.py", line 35, in <module> main() File "/home/pi/VectorApps/helloWorld.py", line 29, in main with anki_vector.Robot(args.serial, cache_animation_lists=False) as robot: File "/home/pi/VectorApps/env/lib/python3.11/site-packages/anki_vector/robot.py", line 758, in __enter__ self.connect(self.behavior_activation_timeout) File "/home/pi/VectorApps/env/lib/python3.11/site-packages/anki_vector/robot.py", line 646, in connect self.conn.connect(timeout=timeout) File "/home/pi/VectorApps/env/lib/python3.11/site-packages/anki_vector/connection.py", line 483, in connect raise e File "/home/pi/VectorApps/env/lib/python3.11/site-packages/anki_vector/connection.py", line 498, in _connect self._control_events = _ControlEventManager(self._loop, priority=self._behavior_control_level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pi/VectorApps/env/lib/python3.11/site-packages/anki_vector/connection.py", line 86, in __init__ self._granted_event = asyncio.Event(loop=loop) ^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Event.__init__() got an unexpected keyword argument 'loop'
I'm also not sure if I want to switch to the virtual python environment every time I want to run a script.
Is it possible to run the installation with apt install python-cyb3r_vector_sdk instead of pip?