
State = resolution.resolve(requirements, max_rounds=max_rounds)įile "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 373, in resolveįailure_causes = self._attempt_to_pin_criterion(name)įile "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterionĬriteria = self._get_updated_criteria(candidate)įile "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 204, in _get_updated_criteria Result = self._result = resolver.resolve(įile "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve Os.utime(targetpath, (tarinfo.mtime, tarinfo.mtime))ĭuring handling of the above exception, another exception occurred:įile "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapperįile "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapperįile "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 339, in runįile "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve When I wanted to make the program going I got an error at the make build step.įile "/usr/local/lib/python3.8/tarfile.py", line 2292, in utime
TWOMON AIR RASPBERRY PI CODE
You have to change the code in a file called "index" to point to your pi's IP address (or removed the IP address entirely and use /api/ instead - that worked for me).Īlso, you have to close and restart the script ("make run") a couple of times before it runs correctly.Įventually this will all work, and you'll be able to navigate to your pi's IP address (port 8000) to see the data. I figured it out - this is an issue that was discussed on Github: I am using an old Raspberry Pi (2011.12) and have installed the latest Raspbian OS. Web_1 | File "/usr/local/lib/python3.8/queue.py", line 178, in get Web_1 | resp = self.rx_cmd_resp_queue.get(timeout=10) Web_1 | File "/usr/local/lib/python3.8/site-packages/sds011/sds011.py", line 234, in request

Web_1 | File "/usr/local/lib/python3.8/site-packages/sds011/sds011.py", line 226, in get_firmware_version Web_1 | firmware_version_data = self.get_firmware_version() Web_1 | File "/usr/local/lib/python3.8/site-packages/sds011/sds011.py", line 139, in probe Web_1 | File "/code/AirQualityMonitor.py", line 13, in initweb_1 | self.sds = SDS011(port='/dev/ttyUSB0') Web_1 | Traceback (most recent call last):
TWOMON AIR RASPBERRY PI WINDOWS
Then I get this from the Windows command prompt: This site can’t be reached 192.168.10.165 refused to connect. When opening the browser to view the page, this is what appears: I have followed the instructions as posted but can't make it run well.

Thanks so much for this guide! I am a complete newbie and found this very easy to follow.
