# WeatherHAT + Pi5 Issues

**URL:** <https://forums.pimoroni.com/t/weatherhat-pi5-issues/24951>\
**Category:** Support\
**Created:** [June 12, 2024, 2:58am UTC](https://forums.pimoroni.com/t/weatherhat-pi5-issues/24951 "2024-06-12T02:58:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thismarty](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/thismarty/32/10851_2.png) [@thismarty](https://forums.pimoroni.com/u/thismarty)\
**Post date:** [June 12, 2024, 2:58am UTC](https://forums.pimoroni.com/t/weatherhat-pi5-issues/24951/1 "2024-06-12T02:58:02Z")

</div>

I’ve been using a WeatherHAT with the setup described on the Pimoroni website with a RPi4 at the heart of things for years without issue.

I am working now to swtich my setup to an RPi5 in order to use an NVME drive.

I have accommodated the core issues with the RPi5 and latest Bookworm-based RPiOS by using a Python setup with all dependancies installed in a virtual environment.

The problem is, the Pimoroni example python code for the WeatherHAT (on GitHub and in the repository) all now break at various points. I spoke with the Pimoronians and they are apparently working their way through all of their many codebases to get everything updated, but that could take a while.

So, I was wondering if maybe anyone reading this has formulated some WeatherHAT Python code that works with the new hard/sfotware to read the HAT’s varioous sensors - that you’d be willing to share?

Thanks in advance!
