Hi guys, I’m a new HTM learner and need some help. I’m intended to install htm.core on Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-142-generic x86_64). And I tried install and failed. It shows that I have met all the prerequisites for installation:
- anaconda python 3.7+
- cmake version 3.7
- g++-6 which is c++11 compatible
Feedback of install from pypi
I know I can use that simple command to install
python -m pip install -i https://test.pypi.org/simple/ htm.core
but it shows
ERROR: Could not find a version that satisfies the requirement pytest==4.6.5 (from htm.core) (from versions: 0.0.0.dev1) ERROR: No matching distribution found for pytest==4.6.5 (from htm.core)
Feedback of building from source
CMake Error at src/ExpandStaticLib.cmake:68 (message): ExpandStaticLib: obj extraction process failed exe_result='1' Call Stack (most recent call first): src/CMakeLists.txt:298 (ExpandStaticLib) -- Configuring incomplete, errors occurred! See also "/home/xxx/htm.core/build/scripts/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "setup.py", line 374, in <module> getExtensionFiles(platform, build_type) File "setup.py", line 239, in getExtensionFiles generateExtensions(platform, build_type) File "setup.py", line 282, in generateExtensions configure(platform, build_type) File "setup.py", line 341, in configure subprocess.check_call(["cmake",BUILD_TYPE , PY_VER, REPO_DIR]) File "/home/xxx/.conda/envs/htm/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '-DCMAKE_BUILD_TYPE=Release', '-DBINDING_BUILD=Python3', '/home/xxx/htm.core']' returned non-zero exit status 1.
Same issue has been raised on github
I’m really appreciated if anyone can fix my problem!