-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] Source build with python 3.13.0 fails; 3.9.17 works #1846
Comments
I'm not sure what's going on there but it builds fine for me with Python 3.13 (and any Python version). For some reason part of the build thinks you are using Python 3.9 while the other thinks you are using 3.13 and the mismatch is causing issues. It suggests something is off in your environment. My recommendation would be to make a fresh miniconda environment for whichever Python version you are using and install it there. |
Thanks for the information. I wasn't using
|
I can raise a PR to supplement the Troubleshooting section with guidance on using |
https://ml-explore.github.io/mlx/build/html/install.html
says the pre-requisites for python are:
"Using a native Python >= 3.9"
but actually when performing the editable install
CMAKE_BUILD_PARALLEL_LEVEL=8 pip install -e ".[dev]"
you get an install failure at the end if your python is newer than 3.9.x, such as 3.13.0.
To Reproduce
CMAKE_BUILD_PARALLEL_LEVEL=8 pip install .
CMAKE_BUILD_PARALLEL_LEVEL=8 pip install -e ".[dev]"
Expected behavior
Editable python install succeeds.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: