# Can't read motion data from sense hat in Node Red

**URL:** <https://discourse.nodered.org/t/cant-read-motion-data-from-sense-hat-in-node-red/55323>\
**Category:** General\
**Created:** [17 December 2021 01:32 UTC](https://discourse.nodered.org/t/cant-read-motion-data-from-sense-hat-in-node-red/55323 "2021-12-17T01:32:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [17 December 2021 01:46 UTC](https://discourse.nodered.org/t/cant-read-motion-data-from-sense-hat-in-node-red/55323/2 "2021-12-17T01:46:32Z")

</div>

There was a change in python between v2 and v3 and the sensehat code has a problem with v3. If you install python v2 you can get it to work.

For background take a look at [SenseHat environment / motion problem - #22 by cymplecy](https://discourse.nodered.org/t/sensehat-environment-motion-problem/46851/22)

---

_[View the full topic](https://discourse.nodered.org/t/cant-read-motion-data-from-sense-hat-in-node-red/55323)._
