I did not have good success with the
BME280. The temperature sensor is just a vanilla diode and the accuracy was horrible. I tried Arduino and RPi, and made sure there was quiet 3.3V power.
I found I get different temperature readings depending on whose software I use

There are many libraries out there for the part.
It seems to be a bug where you read the factory CAL coefficients out of the sensor into some holding registers, and then apply them doing the math in your code.
edit: temperature is used to correct both the pressure and humidity sensors, so all readings would be inaccurate. The part is also light sensitive, so keep the hole dark, and don't let PCB wash or flux get in.
There are also many fake BME's masquerading as BMP's - check the chip ID register.
*** Noticed Bosch just updated their BME280 driver 26 Aug 2019 Version 3.3.7 so they may have finally got it working properly.
"Added a wait until the NVM copy was complete."

BME280's been out there for years...
Libraries out there will take time to bring in the fix. The Adafruit library was the worst for accuracy for some reason, they are aware and going to check.