やりたいこと
ライブラリをインポートしたく進めていったらエラーが出ました。
調べたところanacondaにCのコンパイラが必要らしいのですが、やり方を検索してもよくわかりません。
できるだけ軽くanacondaにコンパイラをいれたいです。
VisualStudio2017はパソコンに入っています。
実行環境
conda 4.6.8
python 3.6.8
エラー内容
$pip install --upgrade --user hmmlearn
エラー結果
Command "C:\Users...\anaconda3\envs\py36\pyt hon.exe -u -c "import setuptools, tokenize;__file__='C:\Users...\hmmlearn\setup.py';f=getattr(tokenize , 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(com pile(code, __file__, 'exec'))" install --record C:\Users...\install-record.txt --single-version-externally-mana ged --compile --user --prefix=" failed with error code 1 in C:\Users...\Temp\pip-install-n5feszs2\hmmlearn\
エラー内容はコンパイラがないからエラーがでてると考えています。
よろしくお願いします。
補足
$conda install hmmlearn
Collecting package metadata: done Solving environment: failed PackagesNotFoundError: The following packages are not available from current nnels: - hmmlearn Current channels: - https://repo.anaconda.com/pkgs/main/win-64 - https://repo.anaconda.com/pkgs/main/noarch - https://repo.anaconda.com/pkgs/free/win-64 - https://repo.anaconda.com/pkgs/free/noarch - https://repo.anaconda.com/pkgs/r/win-64 - https://repo.anaconda.com/pkgs/r/noarch - https://repo.anaconda.com/pkgs/msys2/win-64 - https://repo.anaconda.com/pkgs/msys2/noarch To search for alternate channels that may provide the conda package you're looking for, navigate to https://anaconda.org and use the search bar at the top of the page.
condaを使うとインストールできませんでした。
このgithubを参考にしました。
https://github.com/hmmlearn/hmmlearn
回答1件
あなたの回答
tips
プレビュー