Execution of crewai install results in “error: can’t find Rust compiler”. Is a Rust compiler required to use CrewAI, I did not see a reference to rust in the installation documentation.
I used the following commands to attempt to the installation:
brew install python3.11
python3.11 -m venv venv
source venv/bin/activate
Python 3.11.10
python -m pip install --upgrade pip
pip --version
pip 24.3.1 from /Users/burr/my-projects/crewai-1/venv/lib/python3.11/site-packages/pip (python 3.11)
pip install crewai
pip install ‘crewai[tools]’
crewai version
crewai version: 0.80.0
crewai create crew demo
cd demo
crewai install
That resulted in “error: can’t find Rust compiler”
So, I installed the rust compiler
That seemed to help as the crewai install
process moved along further but then resulted in the following error:
error: failed to run custom build command for pyo3-ffi v0.20.3
Caused by:
process didn't exit successfully:
`/Users/burr/.cache/uv/sdists-v6/pypi/tiktoken/0.7.0/tYlVBWsiibQtdj2sG5Dq9/src/target/release/build/pyo3-ffi-1db8cb53afdefbd9/build-script-build`
Mac OS 15.1