-
Notifications
You must be signed in to change notification settings - Fork 4
"yaml.safe_load(f) has been removed" Error at gi.vext #13
Copy link
Copy link
Open
Description
Hello,
I had this error:
ERROR:root:error loading spec /home/juanca/Pi-Zero-2W-UART-BLE/venv_ble/share/vext/specs/gi.vext:
"safe_load()" has been removed, use
yaml = YAML(typ='safe', pure=True)
yaml.load(...)
instead of file "/home/juanca/Pi-Zero-2W-UART-BLE/venv_ble/lib/python3.11/site packages/vext/conf/__init__.py", line 22
data = yaml.safe_load(f)
On the very first program test, the one with just:
import BLE_GATT
my_device = BLE_GATT.Central('11:22:33:44:55:66')
I have found this possible solution at https://github.com/vext-python/vext/issues/92.
It seems to be working for me, if you see this could be the right one I hope this issue opening helps you on correcting it for all the rest of possible users.
Thanks!!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels