Closed takuya0206 closed 2 years ago
Thank you for creating such a great library.
I have set up this library and successfully got data for CO2 and temperature as follows:
pi@raspberrypi:~ $ python Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import co2meter as co2 >>> mon = co2.CO2monitor(bypass_decrypt=True) >>> mon.info {'vendor_id': 1241, 'product_id': 41042, 'path': b'1-1:1.0', 'manufacturer': 'Holtek', 'product_name': 'USB-zyTemp', 'serial_no': '2.00'} >>> mon.read_data() (datetime.datetime(2022, 1, 2, 0, 7, 54), 873, 20.100000000000023)
Now I am trying to run the web-server and facing error.
pi@raspberrypi:~ $ co2meter_server -bash: co2meter_server: command not found
I believe that I have installed the necessary dependecies as shown below. Could you please tell me how to solve this?
pi@raspberrypi:~ $ pip3 list Package Version --------------- ------------ certifi 2020.6.20 chardet 4.0.0 click 8.0.3 CO2meter 0.2.6 colorzero 1.1 distro 1.5.0 Flask 2.0.2 future 0.18.2 gpiozero 1.6.2 hidapi 0.11.0.post2 idna 2.10 itsdangerous 2.0.1 Jinja2 3.0.3 MarkupSafe 2.0.1 numpy 1.22.0 pandas 1.3.5 pip 20.3.4 python-apt 2.2.1 python-dateutil 2.8.2 pytz 2021.3 requests 2.25.1 RPi.GPIO 0.7.0 setuptools 52.0.0 six 1.16.0 spidev 3.5 ssh-import-id 5.10 urllib3 1.26.5 Werkzeug 2.0.2 wheel 0.34.2
Sorry. I have solved this issue on my own by just restarting my devices.
Thank you for creating such a great library.
I have set up this library and successfully got data for CO2 and temperature as follows:
Now I am trying to run the web-server and facing error.
I believe that I have installed the necessary dependecies as shown below. Could you please tell me how to solve this?