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.
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?
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!
Hello I am using HTM.Core on Anaconda with python 3.7.
When I start HTM code, import.htm line is working.
But, import htm.bindings.sdr line does not work.
I think the package is missing. How can I solve like this error.
Anaconda is not officially supported although it might work. All of our testing is with the download from python.org. Having said that, I would think it should still import the bindings.
Where did you get your htm package? Did you build it from scratch with a clone of the repository or did you down load a pre-built package from Github releases. And, which platform are you using? Windows, Linux, or Mac. I would like to try to reproduce this error.
I downloaded the HTM package from this address (https://github.com/htm-community/htm.core),
I built a clone of the repository from scratch with Using setup.py.
Iâm using it on a Windows platform. Thank you.
I installed from here link ( python -m pip install -i https://test.pypi.org/simple/ htm.core
) and also used setup.py in repository clone.
Not sure what to sayâŚ
The package in pypi and the one available in Github releases are built for standard python37. Apparently the installer checks which version of python you are using before allowing it to be installed.
So, you will need to do a full build from sources using setup.py. You indicate that you already tried that.
When I run this line, I get many errors like the following now.
âPython \ Python37 \ lib \ encodings \ cp1254.pyâ, line 23, in decode
return codecs.charmap_decode (input, self.errors, decoding_table) [0]
UnicodeDecodeError: âcharmapâ codec canât decode byte 0x8d in position 572: character maps to "
What do you think I should do? When this error is corrected, I think I will complete the installation
I think I did everything you wrote. But where am I doing it wrong.
I use pycharm instead of Anaconda platform now .
I have both python 3.7.5 (x64 and x86) as interpreter on Windows 10.
I clone HTM.core files from the repository and loaded all the requirements. There is no error at this stage.
However, when I install with setup.py --user - force, I get an error and cannot proceed.
If you are using anaconda, I donât think you should use the --user option. And actually --force is usually a bad thing, too. What happens when you omit these options?
yes i tried omit too. Iâm using pycharm now. Iâm following Matt Taylorâs YouTube channel for binding. Iâm inexperienced:( I need your help with setup and binding. I did cloning by connecting to github over Pycharm. And installing all the requirements. I have a setup problem and I canât access c ++ libraries like sdr from python. @rhyolight@David_Keeney