SudachiPyのインストールでエラー(2022/04)
pip install SudachiPy
ERROR: Could not build wheels for sudachipy, which is required to install pyproject.toml-based projects
Rustで書かれたコードのビルド中のエラーらしく、エラーメッセージで検索
could not compile yada
error: yada 0.4.0 requires Rust 1.46 or higher.
👉 Rustのバージョンを上げるのを試す
rustup updateで上がった
cargoとrustcが1.41.0→1.60.0
(pyenv的なものはないのかな?)
Rustのバージョンを上げたらインストールできた