Installing DGL on Mac M1

I’m trying to install dgl on mac m1, how can I do it?

conda install -c dglteam dgl

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  • dgl

Current channels:

To search for alternate channels that may provide the conda package you’re
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page."

Conda packages currently is not available for Mac M1. Could you try installing from pip instead?

pip install dgl -f https://data.dgl.ai/wheels/repo.html