@maartend
See for the link below. It's one of the first hits when searching on google with the words "BME680 raspberry pi":
search terms
link
Reading a sensor on a raspberry pi 4B can't be much different from older raspberry versions I guess. The OS might have changed with the new version. Python hasn't.