pi3g / bme68x-python-library

Python 3 Library for BME688 and BME680 (Bosch Sensortec sensors), supports Bosch BSEC
MIT License
46 stars 18 forks source link

python3 setup.py install error on bme68x.h after updating code #3

Open palla89 opened 3 years ago

palla89 commented 3 years ago

Hi, I pulled new code but can't run install:

sudo python3 setup.py install
running install
running bdist_egg
running egg_info
writing bme68x.egg-info/PKG-INFO
writing dependency_links to bme68x.egg-info/dependency_links.txt
writing top-level names to bme68x.egg-info/top_level.txt
reading manifest file 'bme68x.egg-info/SOURCES.txt'
writing manifest file 'bme68x.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv6l/egg
running install_lib
running build_py
running build_ext
building 'bme68x' extension
error: unknown file type '.h' (from 'BME68x-Sensor-API/bme68x.h')
fourstops commented 3 years ago

Looks like it's fixed after the latest commit 1.0.5 gcc 8.3.0 (Raspbian 8.3.0-6+rpi1) Python 3.7.3 on Pi4b

$ sudo rm -r bme68x-python-library
$ git clone https://github.com/pi3g/bme68x-python-library.git
$ cd bme68x-python-library
$ wget https://www.bosch-sensortec.com/media/boschsensortec/downloads/software/bme688_development_software/bsec_2-0-6-1_generic_release_04302021.zip
$ unzip bsec_2-0-6-1_generic_release_04302021.zip
$ sudo python3 setup.py install
marph91 commented 2 years ago

I got the same issue. Will there be a new pypi release so that we can just use pip3 install bme68x again?

Jonas-Hau commented 2 years ago

I got the same issue. Will there be a new pypi release so that we can just use pip3 install bme68x again?

Are there any updates on a new pypi release?

KritsanaMike commented 2 years ago

I got the same issue on RasPi 3 b and python 3.9