# NuPic Install Issue on Ubuntu 16.04 LTS

**URL:** <https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904>\
**Category:** NuPIC\
**Created:** [June 27, 2016, 7:24pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904 "2016-06-27T19:24:18Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![gopal-m](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gopal-m](https://discourse.numenta.org/u/gopal-m)\
**Post date:** [June 27, 2016, 7:24pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/1 "2016-06-27T19:24:18Z")

</div>

Hi,

I am trying to install NuPIC on my Ubuntu machine, and I am getting the following error:

Installed /home/gopal-m/anaconda2/lib/python2.7/site-packages/nupic-0.5.5.dev0-py2.7.egg  
Processing dependencies for nupic==0.5.5.dev0  
Searching for nupic.bindings==0.4.5.dev0  
Reading [https://pypi.python.org/simple/nupic.bindings/](https://pypi.python.org/simple/nupic.bindings/)  
No local packages or download links found for nupic.bindings==0.4.5.dev0  
error: Could not find suitable distribution for Requirement.parse(‘nupic.bindings==0.4.5.dev0’)

Is there a way to install the required bindings? I cannot seem to find this on the pypi page.

Any suggestions would be greatly appreciated. Thank you!

---

<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:** [June 27, 2016, 7:26pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/2 "2016-06-27T19:26:15Z")

</div>

What command(s) did you run to install?

---

<div class="post-metadata">

**Author:** ![gopal-m](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gopal-m](https://discourse.numenta.org/u/gopal-m)\
**Post date:** [June 27, 2016, 7:28pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/3 "2016-06-27T19:28:41Z")

</div>

This is with the python [setup.py](http://setup.py) install portion of the Ubuntu install. All dependencies (Numpy, Matplotlib, etc) have been installed.

---

<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:** [June 27, 2016, 8:21pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/4 "2016-06-27T20:21:33Z")

</div>

Ok, but what directions are you following? It doesn’t look like you’ve installed `nupic.core` bindings yet. You have to do that first. See [https://github.com/numenta/nupic.core/blob/master/README.md](https://github.com/numenta/nupic.core/blob/master/README.md)

---

<div class="post-metadata">

**Author:** ![gopal-m](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gopal-m](https://discourse.numenta.org/u/gopal-m)\
**Post date:** [June 27, 2016, 10:03pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/5 "2016-06-27T22:03:17Z")

</div>

Thanks for pointing me to the github page, however when I tried to install the nupic.core bindings, I received the following error message:

Could not find a version that satisfies the requirement nupic.bindings (from versions: )  
No matching distribution found for nupic.bindings

Any idea where the problem might be? Thanks.

---

<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:** [June 27, 2016, 10:31pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/6 "2016-06-27T22:31:24Z")

</div>

Please, you must paste the exact commands you are using to install, I don’t know what you are doing to cause these errors!

---

<div class="post-metadata">

**Author:** ![helge](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/helge/32/131_2.png) [@helge](https://discourse.numenta.org/u/helge)\
**Post date:** [June 27, 2016, 10:35pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/7 "2016-06-27T22:35:03Z")

</div>

Maybe he missed this additional step required for Linux installations:

`pip install https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.4-cp27-none-linux_x86_64.whl`

(Source: [https://github.com/numenta/nupic/blob/master/README.md#install-linux](https://github.com/numenta/nupic/blob/master/README.md#install-linux))

---

<div class="post-metadata">

**Author:** ![gopal-m](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gopal-m](https://discourse.numenta.org/u/gopal-m)\
**Post date:** [June 27, 2016, 10:50pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/8 "2016-06-27T22:50:25Z")

</div>

gopal-m@gopal-m:~/nupic$ nupic-bindings-check  
Successfully imported nupic.bindings.

gopal-m@gopal-m:~/nupic$ sudo pip install nupic-bindings  
The directory ‘/home/gopal-m/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.  
The directory ‘/home/gopal-m/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.  
Collecting nupic-bindings  
Could not find a version that satisfies the requirement nupic-bindings (from versions: )  
No matching distribution found for nupic-bindings

Just by looking at the above, the NuPIC bindings have been imported but cannot be installed. The error message is no matching distribution found for nupic-bindings.

Any thoughts on what may be the problem here?

---

<div class="post-metadata">

**Author:** ![helge](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/helge/32/131_2.png) [@helge](https://discourse.numenta.org/u/helge)\
**Post date:** [June 27, 2016, 11:08pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/9 "2016-06-27T23:08:16Z")

</div>

Did you try to upgrade pip?

`curl https://bootstrap.pypa.io/get-pip.py | sudo python`

---

<div class="post-metadata">

**Author:** ![gopal-m](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gopal-m](https://discourse.numenta.org/u/gopal-m)\
**Post date:** [June 27, 2016, 11:52pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/10 "2016-06-27T23:52:16Z")

</div>

I just tried the pip upgrade you had suggested, however still obtaining the same error when attempting install of nupic bindings.

---

<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:** [June 27, 2016, 11:55pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/11 "2016-06-27T23:55:55Z")

</div>

Just to confirm, you tried doing a binary install by running the following commands?

```
pip install https://s3-us-west-2.amazonaws.com/artifacts.numenta.org/numenta/nupic.core/releases/nupic.bindings/nupic.bindings-0.4.4-cp27-none-linux_x86_64.whl
pip install nupic

```

Before you do this, it would be a good idea to run this a few times to ensure everything is uninstalled:

```
pip uninstall nupic -y
pip uninstall nupic.bindings -y

```

Also, try not to use `sudo`, instead, you can use the `--user` pip option to install to a local location instead of a system location.

---

<div class="post-metadata">

**Author:** ![gopal-m](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gopal-m](https://discourse.numenta.org/u/gopal-m)\
**Post date:** [June 29, 2016, 9:41pm UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/12 "2016-06-29T21:41:58Z")

</div>

Thank you. This took care of many of the problems.

---

<div class="post-metadata">

**Author:** ![Addonis](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/addonis/32/342_2.png) [@Addonis](https://discourse.numenta.org/u/Addonis)\
**Post date:** [July 2, 2016, 5:12am UTC](https://discourse.numenta.org/t/nupic-install-issue-on-ubuntu-16-04-lts/904/13 "2016-07-02T05:12:00Z")

</div>

Did you successfully install it?
