# How I Painlessly Installed NUPIC with Conda on Ubuntu

**URL:** <https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839>\
**Category:** NuPIC\
**Created:** [April 16, 2019, 5:03pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839 "2019-04-16T17:03:11Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Whamp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/whamp/32/3901_2.png) [@Whamp](https://discourse.numenta.org/u/Whamp)\
**Post date:** [April 16, 2019, 5:03pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/1 "2019-04-16T17:03:11Z")

</div>

So this weekend I binge watched HTM school and got hooked. I wanted to give back to the community and it seemed like there was interest on using conda to install nupic but nobody on the team had experience with it. I wanted to get started running some code but wanted to use conda to help keep nupic in an isolated environment because I use python 3.7 for everything else. So I converted the requirements.txt and install instructions into an environment.yml file so a separate conda nupic environment could be created easily.

Ubuntu Version 18.04.2 LTS

1. Git Clone [https://github.com/numenta/nupic.git](https://github.com/numenta/nupic.git)
2. cd nupic
3. paste this [environment.yml](https://gist.github.com/Whamp/569ed8318473d37da74d74bb8904aa1d) file in the root
4. conda env create -f environment.yml
5. conda activate nupic
6. pip install nupic

The end.

Hope this helps reduce some barriers to entry to HTMs for the conda crowd.

Note: I added some extra packages like jupyter, matplotlib. In a conda environment you will need to install these packages even if you already have them installed in a different python installation, that’s because the conda environment is walled off from everything else and only installs and runs things within it. So don’t be surprised if you follow my install steps and a package you normally use says module not installed now. That just means you need to install it into the environment. To do that:

1. make sure your nupic environment is activated with: `conda activate nupic`
2. with your environment active run `conda install <package-you-want>`
3. if it can’t find your package, then go to `anaconda.org` and search for your package, usually you’ll be able to find an installation channel like so: `conda install -c conda-forge pandas`
4. if you still can’t find the package but you know it’s in pip, you can just pip install it (again with your conda environment activated!!) The downside is when you pip install things into your environment conda can’t manage all the dependencies for you, which is why i always try to find a conda install version first before going to pip install

---

<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:** [April 16, 2019, 6:42pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/2 "2019-04-16T18:42:07Z")

</div>

Seriously it is that easy? 😂

Thanks a bunch! I’ll check this out when I get back.

---

<div class="post-metadata">

**Author:** ![Whamp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/whamp/32/3901_2.png) [@Whamp](https://discourse.numenta.org/u/Whamp)\
**Post date:** [April 16, 2019, 6:46pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/3 "2019-04-16T18:46:49Z")

</div>

Let me know if you have any issues. Happy to help troubleshoot. My environment file takes advantage of the ability to use pip within a self contained conda environment rather than a global pip.

---

<div class="post-metadata">

**Author:** ![sheiser1](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/sheiser1/32/766_2.png) [@sheiser1](https://discourse.numenta.org/u/sheiser1)\
**Post date:** [April 16, 2019, 7:20pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/4 "2019-04-16T19:20:32Z")

</div>

Welcome @Whamp and nice work! I wonder if this could solve the issue I’m having trying to implement NuPIC in a production system that’s in 3.7. I don’t suppose you have any intuitions about getting around that blocker? I come across one repo by @chhenning to make NuPIC work in python 3, so maybe that’s the simplest thing to try. I know very little about these kinds of compatibility problems, so if there were a relatively simple work-around I’d be grateful to find it lol. Thanks

> **[chhenning/nupic](https://github.com/chhenning/nupic/tree/master/src/python/python3)**
>
> Community Fork of Numenta's Platform for Intelligent Computing (NuPIC) - chhenning/nupic

---

<div class="post-metadata">

**Author:** ![Whamp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/whamp/32/3901_2.png) [@Whamp](https://discourse.numenta.org/u/Whamp)\
**Post date:** [April 16, 2019, 7:26pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/5 "2019-04-16T19:26:40Z")

</div>

If you have the ability to install anaconda or miniconda in production system then yes i think this will work. My system python is 3.7 but you can run any version of python you want within a conda environment without infecting any other code or environment.

You would just need to download the installer from [here](https://docs.conda.io/en/latest/miniconda.html) and then run this in the terminal to install:  
(change to the file below to the exact version of miniconda or anaconda you downloaded)  
`bash Miniconda3-latest-Linux-x86_64.sh`

more general anaconda install instructions can be found here and are very helpful for customizing your use case:  
[https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html](https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html)

Info on installing conda on a system that already has other python installations:  
[https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html#installing-conda-on-a-system-that-has-other-python-installations-or-packages](https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html#installing-conda-on-a-system-that-has-other-python-installations-or-packages)

---

<div class="post-metadata">

**Author:** ![Adam\_Brooks](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/adam_brooks/32/4497_2.png) [@Adam\_Brooks](https://discourse.numenta.org/u/Adam_Brooks)\
**Post date:** [September 9, 2019, 2:23pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/6 "2019-09-09T14:23:01Z")

</div>

This was incredible! I was having a ton of issues and your post made this work. Thank you for sharing!

---

<div class="post-metadata">

**Author:** ![mauromussin](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mauromussin](https://discourse.numenta.org/u/mauromussin)\
**Post date:** [September 17, 2019, 9:45am UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/7 "2019-09-17T09:45:16Z")

</div>

Is it possible to put all this stuff in a docker container? I’m working on it but I’m having some trouble…

---

<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, 2019, 5:26pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/8 "2019-09-17T17:26:19Z")

</div>

> [@mauromussin](#):
>
> Is it possible to put all this stuff in a docker container?

[https://hub.docker.com/r/numenta/nupic/](https://hub.docker.com/r/numenta/nupic/)

---

<div class="post-metadata">

**Author:** ![mauromussin](https://avatars.discourse-cdn.com/v4/letter/m/ecd19e/32.png) [@mauromussin](https://discourse.numenta.org/u/mauromussin)\
**Post date:** [September 18, 2019, 7:10am UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/9 "2019-09-18T07:10:28Z")

</div>

I know, but I’m trying to use nupic under jupyter, with no success so far…

---

<div class="post-metadata">

**Author:** ![Vishnu\_Kiran](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/vishnu_kiran/32/5155_2.png) [@Vishnu\_Kiran](https://discourse.numenta.org/u/Vishnu_Kiran)\
**Post date:** [May 21, 2020, 8:30am UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/10 "2020-05-21T08:30:09Z")

</div>

I am having some issues while trying to set up nupic in Anaconda. I believe it is due to compatibility issues with the package. The package isn’t even getting created. My system is Windows 10. I am mentioning my output to “conda env create -f environment.yml” command:  
Collecting package metadata (repodata.json): done  
Solving environment: -  
Found conflicts! Looking for incompatible packages.  
This can take several minutes. Press CTRL-C to abort.  
Building graph of deps: 0%| | 0/16 [00:00\<?, ?it/s]\Examining numpy=1.12.1: 12%|███████▍ | 2/16 [00:18\<02:09, 9.25s/it]-Examining ipywidgets: 25%|███████████████▎ | 4/16 [00:29\<01:17, 6.50s/it]\Examining conflict for numpy matplotlib: 19%|███████▉ | 3/16 [00:05\<00:13, 1.03s/it]/Examining conflict for ipykernel matplotlib jupyter\_client: 75%|████████████████▌ | 12/16 [00:13\<00:03, 1.05it/s]|Examining conflict for jupyter jupyter\_core ipython\_genutils ipython ipykernel ipywidgets jupyter\_client: 100%|█| 16/16/Examining conflict for jupyter\_console jupyter jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 18it [00:17, Examining conflict for jupyter\_console jupyter jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 19it [00:17, Examining conflict for jupyter\_console ipython ipykernel ipywidgets: : 19it [00:18, 1.74it/s] Examining conflict for jupyter\_console jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 21it [00:19, 1.39it/Examining conflict for jupyter\_console jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 22it [00:19, 1.65it/Examining conflict for jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 22it [00:20, 1.65it/s] Examining conflict for jupyter\_console jupyter jupyter\_core ipykernel ipywidgets jupyter\_client: : 26it [00:21, 2.40it/Examining conflict for jupyter\_console jupyter jupyter\_core ipykernel ipywidgets jupyter\_client: : 27it [00:21, 2.97it/Examining conflict for jupyter\_console jupyter ipykernel ipywidgets jupyter\_client: : 27it [00:21, 2.97it/s] failed  
Solving environment:   
Found conflicts! Looking for incompatible packages.  
This can take several minutes. Press CTRL-C to abort.  
Examining jupyter\_console: 44%|████████████████████████▌ | 7/16 [01:12\<01:54, 12.70s/it]/Examining setuptools: 75%|█████████████████████████████████████████████ | 12/16 [02:10\<00:35, 8.92s/it]-Examining conflict for jupyter\_console jupyter jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 18it [00:28, Examining conflict for jupyter\_console jupyter jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 19it [00:28, Examining conflict for jupyter\_console ipython ipykernel ipywidgets: : 19it [00:29, 1.15s/it] Examining conflict for jupyter\_console jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 21it [00:31, 1.07s/iExamining conflict for jupyter\_console jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 22it [00:31, 1.16it/Examining conflict for jupyter\_core ipython ipykernel ipywidgets jupyter\_client: : 22it [00:31, 1.16it/s] Examining conflict for jupyter\_console jupyter jupyter\_core ipykernel ipywidgets jupyter\_client: : 26it [00:33, 1.65it/Examining conflict for jupyter\_console jupyter jupyter\_core ipykernel ipywidgets jupyter\_client: : 27it [00:33, 2.07it/Examining conflict for jupyter\_console jupyter ipykernel ipywidgets jupyter\_client: : 27it [00:33, 2.07it/s] failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -\> Available versions

Package openssl conflicts for:  
pip -\> python[version=’\>=3.7,\<3.8.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]  
ipython -\> python[version=’\>=3.7,\<3.8.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]  
jupyter\_console -\> python[version=’\>=3.5’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]  
jupyter -\> python[version=’\>=3.8,\<3.9.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1b,\<1.1.2a’]  
setuptools -\> python[version=’\>=3.7,\<3.8.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]  
ipykernel -\> python[version=’\>=3.8,\<3.9.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1b,\<1.1.2a’]  
ipython\_genutils -\> python[version=’\>=3.8,\<3.9.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1b,\<1.1.2a’]  
ipywidgets -\> python -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]  
matplotlib -\> python[version=’\>=3.7,\<3.8.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]  
wheel -\> python[version=’\>=3.8,\<3.9.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1b,\<1.1.2a’]  
jupyter\_core -\> python[version=’\>=3.7,\<3.8.0a0’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]  
jupyter\_client -\> python[version=’\>=3.5’] -\> openssl[version=’\>=1.1.1a,\<1.1.2a|\>=1.1.1b,\<1.1.2a|\>=1.1.1c,\<1.1.2a|\>=1.1.1d,\<1.1.2a|\>=1.1.1e,\<1.1.2a|\>=1.1.1f,\<1.1.2a|\>=1.1.1g,\<1.1.2a’]

Package pywin32 conflicts for:  
jupyter\_console -\> jupyter\_client -\> pywin32[version=’\>=1.0’]  
jupyter\_client -\> pywin32[version=’\>=1.0’]  
ipykernel -\> jupyter\_client -\> pywin32[version=’\>=1.0’]  
jupyter\_core -\> pywin32[version=’\>=1.0’]

Package pip conflicts for:  
jupyter\_core -\> python[version=’\>=3.7,\<3.8.0a0’] -\> pip  
ipykernel -\> python[version=’\>=3.6,\<3.7.0a0’] -\> pip  
python=2.7 -\> pip  
ipywidgets -\> python -\> pip  
numpy=1.12.1 -\> python[version=’\>=2.7,\<2.8.0a0’] -\> pip  
jupyter -\> python[version=’\>=3.8,\<3.9.0a0’] -\> pip  
jupyter\_console -\> python[version=’\>=3.5’] -\> pip  
wheel -\> python[version=’\>=3.6,\<3.7.0a0’] -\> pip  
jupyter\_client -\> python[version=’\>=3.5’] -\> pip  
matplotlib -\> python[version=’\>=3.7,\<3.8.0a0’] -\> pip  
ipython\_genutils -\> python[version=’\>=3.8,\<3.9.0a0’] -\> pip  
setuptools -\> python[version=’\>=3.6,\<3.7.0a0’] -\> pip  
ipython -\> python[version=’\>=3.7,\<3.8.0a0’] -\> pip

Package certifi conflicts for:  
ipykernel -\> tornado[version=’\>=4.2’] -\> certifi  
wheel -\> setuptools -\> certifi[version=’\>=2016.09|\>=2016.9.26’]  
setuptools -\> certifi[version=’\>=2016.09|\>=2016.9.26’]  
jupyter\_client -\> tornado[version=’\>=4.1’] -\> certifi  
matplotlib -\> setuptools -\> certifi[version=’\>=2016.09|\>=2016.9.26’]  
ipython -\> setuptools[version=’\>=18.5’] -\> certifi[version=’\>=2016.09|\>=2016.9.26’]  
pip -\> setuptools -\> certifi[version=’\>=2016.09|\>=2016.9.26|\>=2017.4.17’]

Package python-dateutil conflicts for:  
jupyter\_console -\> jupyter\_client -\> python-dateutil[version=’\>=2.1’]  
matplotlib -\> python-dateutil  
ipykernel -\> jupyter\_client -\> python-dateutil[version=’\>=2.1’]  
jupyter\_client -\> python-dateutil[version=’\>=2.1’]

Package numpy conflicts for:  
numpy=1.12.1  
matplotlib -\> numpy[version=‘1.10._|1.11._|\>=1.14.6,\<2.0a0’]  
matplotlib -\> matplotlib-base==3.1.0=py36h3e3dc42\_0 -\> numpy[version=’\>=1.11.3,\<2.0a0’]

Package vc conflicts for:  
python=2.7 -\> sqlite[version=’\>=3.30.1,\<4.0a0’] -\> vc[version=‘14._|\>=14,\<15.0a0|\>=14.1,\<15.0a0’]  
numpy=1.12.1 -\> python[version=’\>=2.7,\<2.8.0a0’] -\> vc[version=’\>=14,\<15.0a0|\>=14.1,\<15.0a0|\>=9,\<10.0a0’]  
ipykernel -\> python[version=’\>=3.6,\<3.7.0a0’] -\> vc[version='10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
setuptools -\> python[version=’\>=3.6,\<3.7.0a0’] -\> vc[version=‘10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
matplotlib -\> vc[version='14._|\>=14.1,\<15.0a0|9._’]  
clangdev -\> libxml2[version=’\>=2.9.8,\<2.10.0a0’] -\> vc[version='10._|10|14|9._|9’]  
ipython -\> python[version=’\>=3.7,\<3.8.0a0’] -\> vc[version='10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
jupyter\_core -\> python[version=’\>=3.7,\<3.8.0a0’] -\> vc[version=‘10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
ipython\_genutils -\> python[version=’\>=3.8,\<3.9.0a0’] -\> vc[version='10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
ipywidgets -\> python -\> vc[version=‘10._|14._|\>=14.1,\<15.0a0|9._|\>=14,\<15.0a0|\>=9,\<10.0a0’]  
python=2.7 -\> vc[version='9._|\>=9,\<10.0a0’]  
pip -\> python[version=’\>=3.7,\<3.8.0a0’] -\> vc[version=‘10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
wheel -\> python[version=’\>=3.6,\<3.7.0a0’] -\> vc[version='10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
jupyter\_client -\> python[version=’\>=3.5’] -\> vc[version=‘10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
jupyter -\> python[version=’\>=3.8,\<3.9.0a0’] -\> vc[version='10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9._|\>=9,\<10.0a0’]  
clangdev -\> vc[version=‘14._|\>=14,\<15.0a0|\>=14.1,\<15.0a0’]  
matplotlib -\> pyqt -\> vc[version='10|10._|14|9|\>=14,\<15.0a0|\>=9,\<10.0a0’]  
numpy=1.12.1 -\> vc[version=‘14._|9._’]  
jupyter\_console -\> python[version=’\>=3.5’] -\> vc[version=‘10._|14._|\>=14.1,\<15.0a0|\>=14,\<15.0a0|9.\*|\>=9,\<10.0a0’]

Package ipython\_genutils conflicts for:  
ipython\_genutils  
ipykernel -\> traitlets[version=’\>=4.1’] -\> ipython\_genutils  
jupyter\_core -\> traitlets -\> ipython\_genutils  
jupyter\_client -\> traitlets -\> ipython\_genutils  
ipython -\> traitlets[version=’\>=4.2’] -\> ipython\_genutils  
jupyter -\> notebook -\> ipython\_genutils  
ipywidgets -\> nbformat[version=’\>=4.2.0’] -\> ipython\_genutils

Package traitlets conflicts for:  
jupyter\_console -\> ipykernel -\> traitlets[version=’\>=4.1|\>=4.2’]  
ipykernel -\> traitlets[version=’\>=4.1’]  
ipywidgets -\> ipykernel[version=’\>=4.5.1’] -\> traitlets[version=’\>=4.1|\>=4.2|\>=4.3’]  
jupyter\_client -\> traitlets  
jupyter\_core -\> traitlets  
ipython -\> traitlets[version=’\>=4.2’]  
ipykernel -\> ipython[version=’\>=5.0’] -\> traitlets[version=’\>=4.2’]  
ipywidgets -\> traitlets[version=’\>=4.2.1|\>=4.3.1|\>=4.3.1,\<5.0.0’]  
jupyter -\> ipykernel -\> traitlets[version=’\>=4.1|\>=4.3.1,\<5.0.0|\>=4.3.1|\>=4.2.1|\>=4.2|\>=4.3’]

Package jupyter\_core conflicts for:  
jupyter -\> nbconvert -\> jupyter\_core[version=’\>=4.4.0|\>=4.6.0|\>=4.6.1’]  
jupyter\_core  
jupyter\_console -\> jupyter\_client -\> jupyter\_core[version=’\>=4.6.0’]  
ipywidgets -\> nbformat[version=’\>=4.2.0’] -\> jupyter\_core[version=’\>=4.4.0|\>=4.6.0|\>=4.6.1’]  
ipykernel -\> jupyter\_client -\> jupyter\_core[version=’\>=4.6.0’]  
jupyter\_client -\> jupyter\_core[version=’\>=4.6.0’]

Package wincertstore conflicts for:  
wheel -\> setuptools -\> wincertstore[version=’\>=0.2’]  
setuptools -\> wincertstore[version=’\>=0.2’]  
matplotlib -\> setuptools -\> wincertstore[version=’\>=0.2’]  
pip -\> setuptools -\> wincertstore[version=’\>=0.2’]  
ipython -\> setuptools[version=’\>=18.5’] -\> wincertstore[version=’\>=0.2’]

Package decorator conflicts for:  
ipython -\> decorator  
ipywidgets -\> ipython[version=’\>=4.0.0’] -\> decorator  
jupyter\_console -\> ipython -\> decorator  
jupyter\_core -\> traitlets -\> decorator  
ipykernel -\> ipython[version=’\>=5.0’] -\> decorator  
jupyter\_client -\> traitlets -\> decorator

Package six conflicts for:  
ipykernel -\> traitlets[version=’\>=4.1’] -\> six  
jupyter\_console -\> prompt\_toolkit[version=’\>=2.0.0,\<3.1.0,!=3.0.0,!=3.0.1’] -\> six[version=’\>=1.9.0’]  
matplotlib -\> cycler[version=’\>=0.10’] -\> six[version=’\>=1.5’]  
ipython -\> prompt\_toolkit[version=’\>=2.0.0,\<4,!=3.0.0,!=3.0.1’] -\> six[version=’\>=1.9.0’]  
jupyter\_core -\> traitlets -\> six  
jupyter\_client -\> python-dateutil[version=’\>=2.1’] -\> six[version=’\>=1.5’]  
ipywidgets -\> traitlets[version=’\>=4.3.1,\<5.0.0’] -\> six  
pip -\> html5lib -\> six[version=’\>=1.9’]

Package python\_abi conflicts for:  
setuptools -\> python\_abi[version=‘3.6._|3.8._|3.7._’,build=’_\_cp36m|_\_cp38|_\_cp37m’]  
wheel -\> setuptools -\> python\_abi[version=‘3.6._|3.8._|3.7._’,build=’_\_cp36m|_\_cp38|_\_cp37m’]  
pip -\> setuptools -\> python\_abi[version=‘2.7._|3.6._|3.8._|3.7._’,build=’_\_cp27m|_\_cp36m|_\_cp38|_\_cp37m’]  
jupyter\_console -\> ipykernel -\> python\_abi[version=‘3.6._|3.7._|3.8._’,build=’_\_cp38|_\_cp37m|_\_cp36m’]  
ipykernel -\> traitlets[version=’\>=4.1’] -\> python\_abi=2.7[build=_\_cp27m]  
ipython -\> jedi[version=’\>=0.10’] -\> python\_abi=2.7[build=_\_cp27m]  
jupyter -\> ipykernel -\> python\_abi[version=‘3.6._|3.7._|3.8._’,build=’_\_cp38|_\_cp37m|_\_cp36m’]  
ipywidgets -\> ipykernel[version=’\>=4.5.1’] -\> python\_abi[version=‘2.7._|3.6._|3.7._|3.8._’,build=’_\_cp38|_\_cp37m|_\_cp36m|_\_cp27m’]  
setuptools -\> certifi[version=’\>=2016.9.26’] -\> python\_abi=2.7[build=_\_cp27m]  
ipykernel -\> python\_abi[version='3.6._|3.7._|3.8._’,build=’_\_cp38|_\_cp37m|_\_cp36m’]  
jupyter\_core -\> python\_abi[version='2.7._|3.7._|3.8._|3.6._’,build=’_\_cp38|_\_cp27m|_\_cp37m|_\_cp36m’]  
jupyter\_client -\> entrypoints -\> python\_abi[version='2.7._|3.6._|3.7._|3.8._’,build=’_\_cp38|_\_cp37m|_\_cp36m|_\_cp27m’]  
ipython -\> python\_abi[version='3.6._|3.7._|3.8._’,build=’_\_cp38|_\_cp37m|_\_cp36m’]  
matplotlib -\> pyqt -\> python\_abi[version='2.7._|3.6._|3.8._|3.7._’,build=’_\_cp27m|_\_cp36m|_\_cp38|\*\_cp37m’]

Package ipykernel conflicts for:  
jupyter -\> ipywidgets -\> ipykernel[version=’\>=4.1|\>=4.2.2|\>=4.5.1’]  
ipykernel  
ipywidgets -\> ipykernel[version=’\>=4.2.2|\>=4.5.1’]  
jupyter -\> ipykernel  
jupyter\_console -\> ipykernel

Package colorama conflicts for:  
jupyter\_console -\> ipython -\> colorama  
ipython -\> colorama  
ipykernel -\> ipython[version=’\>=5.0’] -\> colorama  
ipywidgets -\> ipython[version=’\>=4.0.0’] -\> colorama  
python=2.7 -\> pip -\> colorama  
pip -\> colorama

Package ipywidgets conflicts for:  
jupyter -\> ipywidgets  
ipywidgets

Package setuptools conflicts for:  
ipykernel -\> ipython[version=’\>=5.0’] -\> setuptools[version=’\>=18.5’]  
ipython -\> setuptools[version=’\>=18.5’]  
wheel -\> setuptools  
setuptools  
python=2.7 -\> pip -\> setuptools  
ipython -\> pygments -\> setuptools  
ipywidgets -\> ipython[version=’\>=4.0.0’] -\> setuptools[version=’\>=18.5’]  
matplotlib -\> setuptools  
jupyter\_console -\> ipython -\> setuptools[version=’\>=18.5’]

Package wheel conflicts for:  
wheel  
python=2.7 -\> pip -\> wheel

Package jupyter\_client conflicts for:  
jupyter -\> ipykernel -\> jupyter\_client[version=’\>=4.1|\>=4.2|\>=5.3.4|\>=5.3.1|\>=5.2.0’]  
ipykernel -\> jupyter\_client  
ipywidgets -\> ipykernel[version=’\>=4.5.1’] -\> jupyter\_client[version=’\>=5.2.0|\>=5.3.1|\>=5.3.4’]  
jupyter\_client  
jupyter\_console -\> jupyter\_client

Package jedi conflicts for:  
jupyter\_console -\> ipython -\> jedi[version=’\>=0.10’]  
ipykernel -\> ipython[version=’\>=5.0’] -\> jedi[version=’\>=0.10’]  
ipython -\> jedi[version=’\>=0.10’]  
ipywidgets -\> ipython[version=’\>=4.0.0’] -\> jedi[version=’\>=0.10’]

Package ipython conflicts for:  
jupyter -\> ipykernel -\> ipython[version=’\>=4.0.0|\>=4.0|\>=5.0’]  
ipykernel -\> ipython[version=’\>=4.0.0|\>=4.0|\>=5.0’]  
ipywidgets -\> ipython[version=’\>=4.0.0’]  
jupyter\_console -\> ipykernel -\> ipython[version=’\>=4.0.0|\>=4.0|\>=5.0’]  
ipython  
ipywidgets -\> ipykernel[version=’\>=4.5.1’] -\> ipython[version=’\>=4.0|\>=5.0’]  
jupyter\_console -\> ipython

Package tornado conflicts for:  
jupyter\_console -\> ipykernel -\> tornado[version=’\>=4.0|\>=4.2|\>=4.1|\>=4.1,\<6’]  
jupyter -\> ipykernel -\> tornado[version=’\>=4,\<6|\>=4|\>=4.0|\>=4.2|\>=5.0|\>=5.0,\<7|\>=4.1,\<7’]  
ipykernel -\> tornado[version=’\>=4.0|\>=4.2’]  
matplotlib -\> tornado  
ipywidgets -\> ipykernel[version=’\>=4.5.1’] -\> tornado[version=’\>=4,\<6|\>=4|\>=4.0|\>=4.2|\>=5.0|\>=5.0,\<7|\>=4.1,\<7’]  
ipykernel -\> jupyter\_client -\> tornado[version=’\>=4.1|\>=4.1,\<6’]  
jupyter\_client -\> tornado[version=’\>=4.1|\>=4.1,\<6’]

Package pyqt conflicts for:  
jupyter -\> qtconsole -\> pyqt[version=‘4.11._|5.6._|\>=5.6.0,\<5.7.0a0|\>=5.9.2,\<5.10.0a0’]  
matplotlib -\> pyqt[version=‘4.11._|5._|5.6._|5.9._|\>=5.6,\<6.0a0|\>=5.9.2,\<5.10.0a0|\>=5.12.3,\<5.13.0a0|\>=5.6.0,\<5.7.0a0’]

Package zlib conflicts for:  
python=2.7 -\> sqlite[version=’\>=3.30.1,\<4.0a0’] -\> zlib[version=’\>=1.2.11,\<1.3.0a0’]  
matplotlib -\> zlib[version=’\>=1.2.11,\<1.3.0a0’]  
matplotlib -\> libpng[version=’\>=1.6.34,\<1.7.0a0’] -\> zlib[version=‘1.2._|1.2.11|1.2.8’]  
clangdev -\> llvmdev==9.0.1 -\> zlib[version='1.2._|1.2.11|\>=1.2.11,\<1.3.0a0’]

Package requests conflicts for:  
pip -\> requests  
python=2.7 -\> pip -\> requests

Package ssl\_match\_hostname conflicts for:  
jupyter\_client -\> tornado[version=’\>=4.1’] -\> ssl\_match\_hostname  
matplotlib -\> tornado -\> ssl\_match\_hostname  
ipykernel -\> tornado[version=’\>=4.2’] -\> ssl\_match\_hostname

Package entrypoints conflicts for:  
ipykernel -\> jupyter\_client -\> entrypoints  
jupyter\_console -\> jupyter\_client -\> entrypoints  
jupyter -\> nbconvert -\> entrypoints[version=’\>=0.2.2’]  
jupyter\_client -\> entrypoints

Package wcwidth conflicts for:  
jupyter\_console -\> prompt\_toolkit[version=’\>=2.0.0,\<3.1.0,!=3.0.0,!=3.0.1’] -\> wcwidth  
ipython -\> prompt\_toolkit[version=’\>=2.0.0,\<4,!=3.0.0,!=3.0.1’] -\> wcwidth

Package pyparsing conflicts for:  
pip -\> packaging -\> pyparsing[version=’\>=2.0.2’]  
matplotlib -\> pyparsing

Package backports conflicts for:  
matplotlib -\> backports.functools\_lru\_cache -\> backports  
ipython -\> backports.shutil\_get\_terminal\_size -\> backports

Package enum34 conflicts for:  
ipywidgets -\> traitlets[version=’\>=4.3.1,\<5.0.0’] -\> enum34  
jupyter\_client -\> traitlets -\> enum34  
ipykernel -\> traitlets[version=’\>=4.1’] -\> enum34  
jupyter\_core -\> traitlets -\> enum34  
ipython -\> traitlets[version=’\>=4.2’] -\> enum34

Package jupyter\_console conflicts for:  
jupyter -\> jupyter\_console  
jupyter\_consoleThe following specifications were found to be incompatible with your CUDA driver:

- feature:/win-64::\_\_cuda==9.1=0
- feature:|@/win-64::\_\_cuda==9.1=0

Your installed CUDA driver is: 9.1

Would be grateful if you can help me out with this!

---

<div class="post-metadata">

**Author:** ![Johan\_Widen](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/johan_widen/32/5083_2.png) [@Johan\_Widen](https://discourse.numenta.org/u/Johan_Widen)\
**Post date:** [May 21, 2020, 9:54am UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/11 "2020-05-21T09:54:10Z")

</div>

I set this up under Linux, not Windows 10, so your mileage may vary. But I found that I had to copy and modify the file environment.yml. This is the file i used: myenv.yml with the following content:

[https://drive.google.com/open?id=1g9dP6IgqzmSdqOqaJSQ4qLTcM-UDsCqa](https://drive.google.com/open?id=1g9dP6IgqzmSdqOqaJSQ4qLTcM-UDsCqa)

So I would run the following command:  
conda env create -f myenv.yml

---

<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 21, 2020, 1:01pm UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/12 "2020-05-21T13:01:22Z")

</div>

I suggest using the htm.core library ([https://github.com/htm-community/htm.core](https://github.com/htm-community/htm.core)) which is a port of the Nupic library for Python 3. It supports Linux, OSx and Windows 10. It is tested using standard Python but Anaconda should run as well (See README.md).

---

<div class="post-metadata">

**Author:** ![Vishnu\_Kiran](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.numenta.org/vishnu_kiran/32/5155_2.png) [@Vishnu\_Kiran](https://discourse.numenta.org/u/Vishnu_Kiran)\
**Post date:** [May 22, 2020, 11:53am UTC](https://discourse.numenta.org/t/how-i-painlessly-installed-nupic-with-conda-on-ubuntu/5839/13 "2020-05-22T11:53:01Z")

</div>

Thanks a lot!
