0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

htm.coreをWindows10にインストールする

0
Last updated at Posted at 2019-08-11

実行環境

・Surface Pro 6
・Windows 10 (バージョン 1803)
・Anaconda 4.6.11
・gitはインストール済み

インストール方法

  1. https://visualstudio.microsoft.com/ja/downloads/ からVisual Studio 2019 Community をダウンロード
  2. インストーラの.exeを実行し、「C++によるデスクトップ開発」の項目にチェックを入れてインストールを実行
  3. https://cmake.org/download/ からWindows win64-x64 Installer をダウンロード
  4. インストーラを実行 (Add Cmake to the system PATH for all usersにチェックを入れる)
  5. Anaconda Promptで以下を実行
# Anacondaで仮想環境を作成
$ conda create -n <仮想環境名> python=3.7 pip
$ conda activate <仮想環境名>

# githubリポジトリをクローン
$ git clone https://github.com/htm-community/htm.core
$ cd htm.core

# cppファイルのコンパイル、pythonへのインストールを実行
$ python setup.py install --user --force

# 動作確認
$ python
>>> import htm
>>> import htm.bindings
>>> help(htm) # usageを表示

エラー(Module Not Found)等が出なければ完了。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?