# NuPIC installation incomplete?

**URL:** <https://discourse.numenta.org/t/nupic-installation-incomplete/4566>\
**Category:** NuPIC\
**Created:** [September 14, 2018, 6:43am UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566 "2018-09-14T06:43:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chessweb](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@chessweb](https://discourse.numenta.org/u/chessweb)\
**Post date:** [September 14, 2018, 6:43am UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/1 "2018-09-14T06:43:40Z")

</div>

I have successfully installed NuPIC via “pip install nupic” on my Windows 7 machine. The installation finished with the message  
“Successfully installed nupic-1.0.5 nupic.bindings-1.0.6”

The only files I can find are under  
“C:\Python27\Lib\site-packages\nupic…”

However, this is only the stuff located under “nupic/src/nupic” in the github repo. Where is everything else, e.g. the tests, examples and scripts which are located in the repo under “nupic/examples”, “nupic/tests” and “nupic/scripts”, respectively?

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [September 14, 2018, 1:41pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/2 "2018-09-14T13:41:32Z")

</div>

Tests and examples are not installed with the binaries. You have to check out that code to run it.

---

<div class="post-metadata">

**Author:** ![way-sal](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/way-sal/32/3028_2.png) [@way-sal](https://discourse.numenta.org/u/way-sal)\
**Post date:** [September 14, 2018, 4:24pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/3 "2018-09-14T16:24:49Z")

</div>

I’m using windows 7 like you and a month ago I installed nupic, you must have follow those steps created by @rhyolight (Matt Taylor) and also you must change the variable :

> **[numenta/nupic](https://github.com/numenta/nupic)**
>
> Numenta Platform for Intelligent Computing is an implementation of Hierarchical Temporal Memory (HTM), a theory of intelligence based strictly on the neuroscience of the neocortex. - numenta/nupic

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [September 14, 2018, 4:38pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/4 "2018-09-14T16:38:47Z")

</div>

Right, install git and clone the repository, or just download a zipped file with the source code from Github. With NuPIC already installed, you should be able to run the unit tests in the repo, just follow the README to run tests.

---

<div class="post-metadata">

**Author:** ![chessweb](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@chessweb](https://discourse.numenta.org/u/chessweb)\
**Post date:** [September 15, 2018, 12:57pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/5 "2018-09-15T12:57:37Z")

</div>

The binaries are installed under “C.\Python27\Lib\site-packages\nupic”. I cloned the repo into “F:\DATEN\git-repos\nupic”. Running “py.test tests/unit” from that location results in the output below. All errors seem to be caused by missing modules. How can I fix this?

```auto
============================= test session starts =============================
platform win32 -- Python 2.7.15, pytest-3.0.7, py-1.6.0, pluggy-0.4.0
rootdir: F:\DATEN\git-repos\nupic, inifile:
plugins: xdist-1.16.0, cov-2.5.0
collected 478 items / 46 errors

=================================== ERRORS ====================================
__ERROR collecting tests/unit/nupic/algorithms/cla_classifier_diff_test.py___
ImportError while importing test module 'F:\DATEN\git-repos\nupic\tests\unit\nupic\algorithms\cla_classifier_diff_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests\unit\nupic\algorithms\cla_classifier_diff_test.py:27: in <module>
    from nupic.algorithms.cla_classifier_diff import CLAClassifierDiff
E ImportError: No module named cla_classifier_diff

```

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [September 15, 2018, 2:32pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/6 "2018-09-15T14:32:53Z")

</div>

You are using. The wrong version of the code. It look really old. You need the latest version of the source code.

---

<div class="post-metadata">

**Author:** ![chessweb](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@chessweb](https://discourse.numenta.org/u/chessweb)\
**Post date:** [September 15, 2018, 2:35pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/7 "2018-09-15T14:35:13Z")

</div>

Well, I cloned it from the github repo ([https://github.com/numenta/nupic](https://github.com/numenta/nupic)). How is that too old?

Where can I find the latest version if not there?

---

<div class="post-metadata">

**Author:** ![chessweb](https://avatars.discourse-cdn.com/v4/letter/c/e36b37/32.png) [@chessweb](https://discourse.numenta.org/u/chessweb)\
**Post date:** [September 15, 2018, 3:43pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/8 "2018-09-15T15:43:39Z")

</div>

Never mind. I just synced the clone and now it works.

There are plenty of runtime errors though:  
24 failed, 641 passed, 63 skipped, 5 pytest-warnings, 10 error in 197.14 seconds

Is this to be expected?

---

<div class="post-metadata">

**Author:** ![Jose\_Cueto](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/jose_cueto/32/4052_2.png) [@Jose\_Cueto](https://discourse.numenta.org/u/Jose_Cueto)\
**Post date:** [September 17, 2018, 11:28am UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/9 "2018-09-17T11:28:11Z")

</div>

I don’t think so. Just ran my tests today and I got the following;

```auto
================================================================== 715 passed, 17 skipped, 8 xfailed, 5 pytest-warnings in 400.81 seconds ==================================================================

```

---

<div class="post-metadata">

**Author:** ![rhyolight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/rhyolight/32/3922_2.png) [@rhyolight](https://discourse.numenta.org/u/rhyolight)\
**Post date:** [September 17, 2018, 4:17pm UTC](https://discourse.numenta.org/t/nupic-installation-incomplete/4566/10 "2018-09-17T16:17:08Z")

</div>

There should be no failed tests. Which ones failed? Skipped tests are expected.
