Skip to content

Commit

Permalink
Fix bounds for problematic julia versions in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjthomas9 committed May 22, 2024
1 parent 69b847f commit 4d7c2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Repository implementing MLJ interface for
[![Coverage](http://codecov.io/github/JuliaAI/MLJScikitLearnInterface.jl/coverage.svg?branch=master)](https://codecov.io/gh/JuliaAI/MLJScikitLearnInterface.jl)

# Known Issue
If you are using Linux and Julia version `>=1.8.3`, the `libstdcxx` version is not compatible with `scikit-learn>=1.2`. To get around this issue, you have to swap out the `libstdcxx` version that is loaded in with Julia. There is two methods to do this. The first is to build an environment with `Conda.jl` and use that as your `LD_LIBRARY_PATH`.
If you are using Linux and Julia version `<=1.8.3`, the `libstdcxx` version is not compatible with `scikit-learn>=1.2`. To get around this issue, you have to swap out the `libstdcxx` version that is loaded in with Julia. There is two methods to do this. The first is to build an environment with `Conda.jl` and use that as your `LD_LIBRARY_PATH`.
```bash
ROOT_ENV=`julia -e "using Conda; print(Conda.ROOTENV)"`
export LD_LIBRARY_PATH=$ROOT_ENV"/lib":$LD_LIBRARY_PATH
Expand Down

0 comments on commit 4d7c2d0

Please sign in to comment.