Python SdachiPy Install Error(2023年2月)

pythonアイキャッチ Uncategorized

Pythonでja_ginzaをインストールしようとしたところ、下記のエラーでインストールできませんでした。

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for SudachiPy
Failed to build SudachiPy
ERROR: Could not build wheels for SudachiPy, which is required to install pyproject.toml-based projects

環境

  • Windows 11
  • Python 3.11

結果として、どうもPython 3.11ではインストールできないようで、Python 3.10に切り替えることでインストールできました。

参考にしたサイト

https://stackoverflow.com/questions/71512301/error-could-not-build-wheels-for-spacy-which-is-required-to-install-pyproject

今後のバージョンアップの状況ではPython3.11で利用できるようになるかもしれませんね。

参考になれば幸いです。

コメント

タイトルとURLをコピーしました