ml-explore / mlx-examples

Examples in the MLX framework
MIT License
6.3k stars 898 forks source link

Can't not run on MacOS 15.0.1 #1046

Closed ZhuominLi closed 1 month ago

ZhuominLi commented 1 month ago

image got an error above but actually my MacOS already 15.0.1

awni commented 1 month ago

Well for some reason Python thinks you are using an older OS. Can you run the below and share the output?

python -c "import platform;print(platform.mac_ver())"
ZhuominLi commented 1 month ago

Well for some reason Python thinks you are using an older OS. Can you run the below and share the output?

python -c "import platform;print(platform.mac_ver())"

image okay, why shows 10.16.... here is my real OS

image
awni commented 1 month ago

It looks like you have an x86_64 mac? What hardware is it?

If it's an M-series machine then you are probably using an emulated python. You can check the troubleshooting guide on this.

awni commented 1 month ago

Closing this as resolved. Feel free to comment here if you are still having issues.