Open ZeroSebastian opened 2 years ago
Edit: I tried again with the sudo python setup.py install
approach and added the path where it is installed ( /usr/lib/python3.7/site-packages
) to the python sys path . I still get the same issue.
Can anybody help me with this?
The BSEC library is supplied by Bosch and you have to request it, and follow the instructions from PI3G. If you do a pip install the package is missing the BSEC library, and lots of functionality is missing.
BOSCH have patched the library and you will see this a causing other issues, due to the update name change.
What sort of PI (Zero Zero 2, 3 , 4) and what flavour of raspbian are you using?
Is there a specific reason why the package has to be installed with the deprecated
setup.py install
way? Whenever I try to install it with this command the package is not found afterwards (it is installed into/usr/lib/python3.7/site-packages
and not into/usr/local/lib/python3.7/dist-packages
and i honestly do not understand why). Because of this, I chose to install it withpip3 install .
instead. Whenever I try to import the module in python I get this error (also when executing the examples):from bme68x import BME68X UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 3: invalid continuation byte
Does this happen because I did not install the module with
setup.py install
? If yes, where did I go wrong? I followed the provided instructions video.