Skip to content
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:
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```shell

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:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The command can fail also due to missing a rust compiler. The standar way to install it is:
The command can fail also due to missing a rust compiler. The standard way to install it is:

```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```
```shell

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