# Updates to install.sh for Bookworm

**URL:** <https://forums.pimoroni.com/t/updates-to-install-sh-for-bookworm/23156>\
**Category:** Support\
**Created:** [October 26, 2023, 2:30pm UTC](https://forums.pimoroni.com/t/updates-to-install-sh-for-bookworm/23156 "2023-10-26T14:30:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeltaV](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@DeltaV](https://forums.pimoroni.com/u/DeltaV)\
**Post date:** [October 26, 2023, 2:30pm UTC](https://forums.pimoroni.com/t/updates-to-install-sh-for-bookworm/23156/1 "2023-10-26T14:30:22Z")

</div>

This question is related to installing Pimoroni Python libraries on a Raspberry Pi running the new Bookworm OS. In particular I was looking at the bme280-python library. On GitHub, am I correct in thinking the installer ‘install.sh’ is written for Bullseye? How do I install into the now recommended virtual environment? Will Pimoroni be modifying the install script for Bookworm? Or is there a workaround to get the bme280 library into a virtual environment? Thanks.

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [October 26, 2023, 6:07pm UTC](https://forums.pimoroni.com/t/updates-to-install-sh-for-bookworm/23156/2 "2023-10-26T18:07:42Z")

</div>

I’d run it and see what happens. If it needs the virtual environment you will get an error message telling you so. And a link to the new procedure.

This might help.  
[St7789 install error with Bookworm? - Support - Pimoroni Buccaneers](https://forums.pimoroni.com/t/st7789-install-error-with-bookworm/23081/15)

---

<div class="post-metadata">

**Author:** ![DeltaV](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@DeltaV](https://forums.pimoroni.com/u/DeltaV)\
**Post date:** [October 27, 2023, 8:53am UTC](https://forums.pimoroni.com/t/updates-to-install-sh-for-bookworm/23156/3 "2023-10-27T08:53:05Z")

</div>

Thanks. I’ve now managed to install bme280 library in a virtual environment and run the example code using Thonny (using the virtual environment).

---

<div class="post-metadata">

**Author:** ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)\
**Post date:** [October 27, 2023, 9:21am UTC](https://forums.pimoroni.com/t/updates-to-install-sh-for-bookworm/23156/4 "2023-10-27T09:21:17Z")

</div>

Your ahead of me, I have yet to try the new install method.
