8000 Common Installation Problems · Issue #200 · ml-explore/mlx · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Common Installation Problems #200
Open
@awni

Description

@awni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0