Skip to content
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

Add installation information for macOS #803

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions python/mlcroissant/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,22 @@ This can be fixed by running
sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config
```

### macOS possible issues

In the case of macOS graphviz and pygraphviz can be installed with brew, running:
```
brew install graphviz
pip install --config-settings="--global-option=build_ext" \
--config-settings="--global-option=-I$(brew --prefix graphviz)/include/" \
--config-settings="--global-option=-L$(brew --prefix graphviz)/lib/" \
pygraphviz
```

The command can fail also due to missing a rust compiler. The standar way to install it is:
```
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

### Conda installation
Conda can help create a consistent environment.
It can also be useful to install packages without root access.
Expand Down
Loading