我跟随these instructions在Raspberry Pi上安装snips-nlu:
curl https://sh.rustup.rs -sSf | sh
sudo python3 -m pip install setuptools-rust
sudo python3 -m pip install snips-nlu
我的控制台日志:
Building wheels for collected packages: snips-nlu-utils, snips-nlu-parsers
.
.
. error: Can not find Rust compiler
我尝试使用不同的Python版本。
我找到了setuptools-rust,但是没有帮助,因为我不知道该怎么办。
如何修复此Rust编译器错误消息并在Raspberry Pi上安装snips-nlu?
安装Rust编译器后:
curl https://sh.rustup.rs -sSf | sh
您可以尝试重新启动,然后继续安装NLU。重新启动是为了确保Rust的路径已记录在PATH中。