Hello I am trying to instal crewai and using python version 3.11.11 but i see the below message
Building wheels for collected packages: tiktoken
Building wheel for tiktoken (pyproject.toml) … error
error: subprocess-exited-with-error
× Building wheel for tiktoken (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [36 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-10.13-universal2-cpython-313/tiktoken
copying tiktoken/registry.py → build/lib.macosx-10.13-universal2-cpython-313/tiktoken
copying tiktoken/init.py → build/lib.macosx-10.13-universal2-cpython-313/tiktoken
copying tiktoken/core.py → build/lib.macosx-10.13-universal2-cpython-313/tiktoken
copying tiktoken/model.py → build/lib.macosx-10.13-universal2-cpython-313/tiktoken
copying tiktoken/load.py → build/lib.macosx-10.13-universal2-cpython-313/tiktoken
copying tiktoken/_educational.py → build/lib.macosx-10.13-universal2-cpython-313/tiktoken
creating build/lib.macosx-10.13-universal2-cpython-313/tiktoken_ext
copying tiktoken_ext/openai_public.py → build/lib.macosx-10.13-universal2-cpython-313/tiktoken_ext
running egg_info
writing tiktoken.egg-info/PKG-INFO
writing dependency_links to tiktoken.egg-info/dependency_links.txt
writing requirements to tiktoken.egg-info/requires.txt
writing top-level names to tiktoken.egg-info/top_level.txt
reading manifest file ‘tiktoken.egg-info/SOURCES.txt’
reading manifest template ‘MANIFEST.in’
warning: no files found matching ‘Makefile’
adding license file ‘LICENSE’
writing manifest file ‘tiktoken.egg-info/SOURCES.txt’
copying tiktoken/py.typed → build/lib.macosx-10.13-universal2-cpython-313/tiktoken
running build_ext
running build_rust
error: can’t find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tiktoken
Failed to build tiktoken
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (tiktoken)
(my_env) sumeetsawant@MacBookPro crewai_resume % pip install --upgrade pip
Requirement already satisfied: pip in ./my_env/lib/python3.13/site-packages (24.3.1)