Anaconda and htm.core

Hello !

I try to install htm.core on Anaconda on Windows. I installed:
python -m pip install --no-cache-dir -r bindings/py/packaging/requirements.txt
python setup.py install --user --force

After second string I got some errors:
FileNotFoundError: [WinError 2] The system cannot find the file specified

Can you help me ?
Maybe, someone install htm.core on Anaconda.

Anaconda is not officially supported on htm.core but I think Fred Rotbart did get it to work. Check the issues: https://github.com/htm-community/htm.core/pull/484

I have been running in in Anaconda successfully.

Did you install VS2019 ? Which steps did you do for installing htm.core ?

Did you test on Windows ?

I am on macOS, not Windows. I installed simply with python setup.py install.

hi rhyolight, I am struggling here with getting htm.core to run properly. I tried installing via PyCharm and a Conda environment as well as a simple python install. After setup I was able to run setup.py test which seems to skip some tests and creates some warnings. I can successfully run the mnist.py example, but eg. the sp_tutorial.py stopps with this:

Traceback (most recent call last):
File “sp_tutorial.py”, line 107, in
overlaps = sp.getOverlaps()
AttributeError: ‘htm.bindings.algorithms.SpatialPooler’ object has no attribute ‘getOverlaps’

and the hotgym.py breaks with this:

TypeError: infer(): incompatible function arguments. The following argument types are supported:
1. (self: htm.bindings.algorithms.Predictor, pattern: htm.bindings.sdr.SDR) -> Dict[int, List[float]]

I have no clue what to do next. Any idea what I am missing?

1 Like

I don’t know what is going on, you’ll have to ask @David_Keeney or @dmac.

1 Like

ok, thank you for your fast reply!

1 Like

I’ve tried a lot and I’ve succeeded only with debian 10, installing cap ’ proto and configuring it accordingly (I mean CXX and stuff like this).
Now I’m working with jupyer and nupic very well!