Skip to content

Update setup instructions for mac (due to tiktoken dependencies) #2644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sudobinbash
Copy link

Update setup instructions for mac (due to tiktoken dependencies)

Troubleshooting for set up in macos to fix tiktoken dependency issues
@@ -122,7 +122,7 @@ To get started with CrewAI, follow these simple steps:

### 1. Installation

Ensure you have Python >=3.10 <3.13 installed on your system. CrewAI uses [UV](https://docs.astral.sh/uv/) for dependency management and package handling, offering a seamless setup and execution experience.
Ensure you have Python >=3.10 <3.12 installed on your system. CrewAI uses [UV](https://docs.astral.sh/uv/) for dependency management and package handling, offering a seamless setup and execution experience.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You’re saying the supported Python versions are 3.10 and 3.11, but we also fully support 3.12.

- Ensure Rust compiler is installed (see installation steps above)
- For mac:
- Ensure Rust compiler is installed before installing tiktoken: `brew install rust && pip install tiktoken`
- Ensure that your python is version is not 3.13 (otherwise, you will get the error `error: the configured Python interpreter version (3.13) is newer than PyO3's maximum supported version (3.12)` when installing tiktoken
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a bit redundant since we’ve already mentioned the supported Python versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants