# Can't install i2c or ina219 via palette or manually under nodered 4.0.5

**URL:** <https://discourse.nodered.org/t/cant-install-i2c-or-ina219-via-palette-or-manually-under-nodered-4-0-5/92467>\
**Category:** General\
**Tags:** docker\
**Created:** [17 October 2024 16:27 UTC](https://discourse.nodered.org/t/cant-install-i2c-or-ina219-via-palette-or-manually-under-nodered-4-0-5/92467 "2024-10-17T16:27:53Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 October 2024 20:07 UTC](https://discourse.nodered.org/t/cant-install-i2c-or-ina219-via-palette-or-manually-under-nodered-4-0-5/92467/4 "2024-10-17T20:07:32Z")

</div>

I think this is the key error

> [@muggins](#):
>
> `ModuleNotFoundError: No module named 'distutils'`

See [distutils is removed in Python 3.12 · Issue #2869 · nodejs/node-gyp · GitHub](https://github.com/nodejs/node-gyp/issues/2869) for the reason. Python 3.12 does not have that module. node-gyp was fixed at version 10, but you only have 8.4.1.

Can you drop Python back to 3.10?

I don't know whether it is possible to upgrade node-gyp or if that will cause other problems.

---

_[View the full topic](https://discourse.nodered.org/t/cant-install-i2c-or-ina219-via-palette-or-manually-under-nodered-4-0-5/92467)._
