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/
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!
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
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!!