# Nupic migration to python3

**URL:** <https://discourse.numenta.org/t/nupic-migration-to-python3/11114>\
**Category:** NuPIC\
**Tags:** question\
**Created:** [November 20, 2023, 9:13am UTC](https://discourse.numenta.org/t/nupic-migration-to-python3/11114 "2023-11-20T09:13:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![prathibha](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@prathibha](https://discourse.numenta.org/u/prathibha)\
**Post date:** [November 20, 2023, 9:13am UTC](https://discourse.numenta.org/t/nupic-migration-to-python3/11114/1 "2023-11-20T09:13:17Z")

</div>

How can I migrate nupic from python2.7 to python3

---

<div class="post-metadata">

**Author:** ![dmac](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/dmac/32/5842_2.png) [@dmac](https://discourse.numenta.org/u/dmac)\
**Post date:** [November 20, 2023, 3:56pm UTC](https://discourse.numenta.org/t/nupic-migration-to-python3/11114/2 "2023-11-20T15:56:05Z")

</div>

If you’re willing to build C++ code from source then you can try the htm.core project, which is a fork of nupic that already converted to python3.

> **[GitHub - htm-community/htm.core: Actively developed Hierarchical Temporal...](https://github.com/htm-community/htm.core)**
>
> Actively developed Hierarchical Temporal Memory (HTM) community fork (continuation) of NuPIC. Implementation for C++ and Python - GitHub - htm-community/htm.core: Actively developed Hierarchical T...

---

<div class="post-metadata">

**Author:** ![prathibha](https://avatars.discourse-cdn.com/v4/letter/p/5f8ce5/32.png) [@prathibha](https://discourse.numenta.org/u/prathibha)\
**Post date:** [November 21, 2023, 4:51am UTC](https://discourse.numenta.org/t/nupic-migration-to-python3/11114/3 "2023-11-21T04:51:02Z")

</div>

Thank you for your response. We are using only python.
