Skip to content

Commit 0a217ec

Browse files
committed
Add installation information for macOS
1 parent f2d0cfd commit 0a217ec

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

python/mlcroissant/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@ This can be fixed by running
3333
sudo apt-get install python3-dev graphviz libgraphviz-dev pkg-config
3434
```
3535

36+
### macOS possible issues
37+
38+
In the case of macOS graphviz and pygraphviz can be installed with brew, running:
39+
```
40+
brew install graphviz
41+
pip install --config-settings="--global-option=build_ext" \
42+
--config-settings="--global-option=-I$(brew --prefix graphviz)/include/" \
43+
--config-settings="--global-option=-L$(brew --prefix graphviz)/lib/" \
44+
pygraphviz
45+
```
46+
47+
The command can fail also due to missing a rust compiler. The standar way to install it is:
48+
```
49+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
50+
```
51+
3652
### Conda installation
3753
Conda can help create a consistent environment.
3854
It can also be useful to install packages without root access.

0 commit comments

Comments
 (0)