ml-explore / ml-explore/mlx

Common Installation Problems

Open
#200 11 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
C++
Stars
28.5k
Forks
2.3k
Avg merge
3d 8h
Merged PRs (30d)
62

Description

The docs have more information on troubleshooting installation.

Two of the more common issues are described below (as well as in the docs).

Installing from PyPI

A common problem is pip install mlx does not find a matching distribution:

ERROR: Could not find a version that satisfies the requirement mlx (from versions: none)
ERROR: No matching distribution found for mlx

If this happens you are probably using a non-native Python. The output of:

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

Should be arm not i386. You can fix this by using an environment with a native Python using Conda. Another option is to simply reinstall Conda and setup a new environment.

Installing from Source

You see the following error when you try to build:

error: unable to find utility "metal", not a developer tool or in PATH

To fix this, first make sure you have Xcode installed:

xcode-select --install

Then set the active developer directory:

sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked troubleshooting installation page and check how the PyPI and source-installation problems are currently covered. Done means the native-Python guidance and Xcode developer-directory commands are clearly documented there, with the reported error messages and fixes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.