# HTM for fall detection

**URL:** <https://discourse.numenta.org/t/htm-for-fall-detection/10803>\
**Category:** Engineering\
**Created:** [May 30, 2023, 1:02pm UTC](https://discourse.numenta.org/t/htm-for-fall-detection/10803 "2023-05-30T13:02:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tresor](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@Tresor](https://discourse.numenta.org/u/Tresor)\
**Post date:** [May 30, 2023, 1:02pm UTC](https://discourse.numenta.org/t/htm-for-fall-detection/10803/1 "2023-05-30T13:02:00Z")

</div>

Hello,  
I have an idea of using HTM for FALL DETECTION I am facing issue of installing HTM dependencies such as NUPIC. The HTM does not support python3 its only using Python 2 and it s seems to be difficult of installing pytorch and other machine learning librairie on python 2. Other side am also have issue of installing python3 using core HTM. I wonder how I can deal with these issues! DOES ANYBODY HAVE A CLUE TO HANDLE THIS?? 🥲

---

<div class="post-metadata">

**Author:** ![cezar\_t](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/cezar_t/32/4451_2.png) [@cezar\_t](https://discourse.numenta.org/u/cezar_t)\
**Post date:** [May 30, 2023, 2:05pm UTC](https://discourse.numenta.org/t/htm-for-fall-detection/10803/2 "2023-05-30T14:05:12Z")

</div>

I guess you should use [GitHub - htm-community/htm.core: Actively developed Hierarchical Temporal Memory (HTM) community fork (continuation) of NuPIC. Implementation for C++ and Python](https://github.com/htm-community/htm.core) instead of NuPIC

Following instructions on that page it installed in a python 3.10 virtualenv in Ubuntu 22.something

---

<div class="post-metadata">

**Author:** ![Tresor](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@Tresor](https://discourse.numenta.org/u/Tresor)\
**Post date:** [May 30, 2023, 2:57pm UTC](https://discourse.numenta.org/t/htm-for-fall-detection/10803/3 "2023-05-30T14:57:59Z")

</div>

> [@cezar\_t](#):
>
> Ubuntu 22

alright! i am windows user but i will give a try! Thanks

---

<div class="post-metadata">

**Author:** ![David\_Keeney](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/david_keeney/32/1616_2.png) [@David\_Keeney](https://discourse.numenta.org/u/David_Keeney)\
**Post date:** [May 30, 2023, 8:58pm UTC](https://discourse.numenta.org/t/htm-for-fall-detection/10803/4 "2023-05-30T20:58:00Z")

</div>

The htm.core library runs on both linux and windows and uses python3. You will need the Visual Studio C++ compiler to build on windows however. Make a clone of the htm.core repository on your computer then follow the instructions in the README,

---

<div class="post-metadata">

**Author:** ![mamta25](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mamta25](https://discourse.numenta.org/u/mamta25)\
**Post date:** [November 1, 2025, 6:33am UTC](https://discourse.numenta.org/t/htm-for-fall-detection/10803/5 "2025-11-01T06:33:45Z")

</div>

Hey, you can simply use a new version of HTM that supports Python 3 called htm.core because it is made by the HTM community and the updated version of NuPIC, but don’t try to install the old NuPIC because it needs Python 2 and new libraries like PyTorch, so it won’t work on it.

Hope this will help you.

---

<div class="post-metadata">

**Author:** ![Tom-Jack](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/tom-jack/32/6654_2.png) [@Tom-Jack](https://discourse.numenta.org/u/Tom-Jack)\
**Post date:** [December 4, 2025, 1:56pm UTC](https://discourse.numenta.org/t/htm-for-fall-detection/10803/6 "2025-12-04T13:56:12Z")

</div>

That’s tricky! You could try a Python 2 virtual environment for HTM or look for Python 3-compatible HTM alternatives.
