"crewai install" fails on MacOS 15 with pylance errors and Python version 3.13.7

Hello, This is my first post asking for help. I am developing my first project on my MAC laptop and I get the below error. Is there a recommended version for macOS folks to use crewAI/

shobhavijay@Shobhas-MacBook-Pro travel_planning_assistant_v1_crewai-project % crewai install

Resolved 174 packages in 6ms

error: Distribution `pylance==0.37.0 @ registry+https://pypi.org/simple` can’t be installed because it doesn’t have a source distribution or wheel for the current platform

hint: You’re on macOS (`macosx_15_0_x86_64`), but `pylance` (v0.37.0) only has wheels for the following platforms: `manylinux_2_17_aarch64`, `manylinux_2_17_x86_64`, `manylinux_2_28_aarch64`, `manylinux_2_28_x86_64`, `manylinux2014_aarch64`, `manylinux2014_x86_64`, `macosx_11_0_arm64`, `win_amd64`; consider adding your platform to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels

An error occurred while running the crew: Command ‘[‘uv’, ‘sync’]’ returned non-zero exit status 2.

I used CrewAI Chatgpt for my issue and it worked for now! I wanted to post this so that it serves as a reference for anybody else encountering this issue!

So glad it is working and welcome to the community.

I know a few CrewAI members use Docker like tools to run CrewAI as this means you do not run the risk of dependancy hell :slight_smile:

sorry, how did you resolve this? I wasnt able to fix it with chatGPT

I feel your pain. Getting your environment setup and running for Python with dependancies can be a struggle. I would recommend reviewing this video. Installation - CrewAI

Thx for the video, I had followed all the steps. Unfortunately, this doesn’t resolve my issue…

I agree with @Tony_Wood that this day and age, containers is the way to go. I should have used that approach. My next goal to get that going. Having said that, @melni I had a long conversation with CrewGPT and also reviewed older question posted in forum. I created a virtual Python env and downgraded by Python version to 3.11 , upgraded pip versions, reinstalled crew again and installed xcode and cmake etc. All these were suggested by CrewGPT. I am sure it is not apples to apples comparison. Hope this helps!!