SudachiPyのインストールでエラー(2022/04)
pip install SudachiPy
ERROR: Could not build wheels for sudachipy, which is required to install pyproject.toml-based projects
同様のエラー https://teratail.com/questions/qhq3j4zl6e2gt6
Rustで書かれたコードのビルド中のエラーらしく、エラーメッセージで検索
could not compile yada
error: yada 0.4.0 requires Rust 1.46 or higher.
https://github.com/mosuka/bayard/issues/120#issuecomment-745256282
👉 Rustのバージョンを上げるのを試す
rustup updateで上がった
cargoとrustcが1.41.0→1.60.0
https://qiita.com/DanYuya/items/1b3a9fbd9cef7047b3ca
https://doc.rust-lang.org/book/ch01-01-installation.html#updating-and-uninstalling
(pyenv的なものはないのかな?)
Rustのバージョンを上げたらインストールできた