There was an error while loading. Please reload this page.
2 parents df7a304 + 84f5727 commit 98ae79cCopy full SHA for 98ae79c
python-client/docs/contribute/dev-environment.md
@@ -12,4 +12,17 @@ To install it run:
12
```shell
13
brew install pre-commit
14
pre-commit install
15
-```
+```
16
+
17
18
+## Troubleshooting
19
20
+### `Fatal Python error: segmentation fault` when running `pytest` on MacOS
21
22
+This is probably caused by a [known issue](https://github.com/microsoft/LightGBM/issues/4707) with `libomp>=12` and LightGBM on MacOS.
23
+You can avoid this problem by downgrading `libomp` to version 11.1.0, which is compatible with LightGBM.
24
25
+```sh
26
+$ wget https://raw.githubusercontent.com/Homebrew/homebrew-core/fb8323f2b170bd4ae97e1bac9bf3e2983af3fdb0/Formula/libomp.rb
27
+$ brew install ./libomp.rb
28
0 commit comments