When trying to run the sandbox.py file in VS Code, we get this error:
Traceback (most recent call last):
File “/home/avr/AVR-2022/VMC/sandbox/sandbox.py”, line 5, in
from bell.avr.mqtt.client import MQTTModule
ModuleNotFoundError: No module named ‘bell’
We have trying installing the Bell AVR Libraries with “pip install bell-avr-libraries” but we get this error:
ERROR: Could not find a version that satisfies the requirement bell-avr-libraries (from versions: none)
ERROR: No matching distribution found for bell-avr-libraries
I think your issue is that you are running the sandbox file directly from VSCode, instead of as a docker container. The AVR software is not intended to be run as a standalone Python file. I would take a look at the Docker section of the AVR build guide. If you have any questions, feel free to ask me.
However, if you are running the sandbox as a docker container, then I would recommend that you update your software using setup.py
and re-run it. Also, if you could provide all of your docker container logs (the messages that start printing after you use start.py run
) that could help in diagnosing the issue.