-
Notifications
You must be signed in to change notification settings - Fork 61
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
unable to install package datasets #247
unable to install package datasets #247
Comments
First, note that the datasets package is also in conda-forge so you don't need the huggingface channel. If you specifically want the huggingface version of datasets, you can just do That said, I can reproduce the GLIBCXX error. But in this case, it's not a bug in PythonCall but a bug in how
So this needs to get reported somewhere. The As for the other error, where mamba cannot install packages, this is due to the numpy constraint. It can be reproduced like this:
This happens because newer versions of numpy require a newer version of libstdc++. You'll need to lower the bound on numpy - 1.22 is OK. |
Thanks for looking into this. I now have the bounds numpy = ">=1.22, <2"
pyarrow = "=6.0.0" But still the CI run fails, https://github.com/CarloLucibello/HuggingFaceDatasets.jl/actions/runs/3637555353/jobs/6138697246#step:5:223 Btw, I cannot reproduce any failure locally on my mac now. |
I guess also that PythonCall is adding the bound |
That CI run doesn't actually specify pyarrow as a dependency even though it is in your CondaPkg.toml. You should specify |
The libstdcxx-ng requirement will be lifted if you're using a version of Julia with a newer libstdc++. |
I've not been running into this lately so marking as closed |
This is possible related to GLIBC, but I don't know for sure.
I cannot reliably reproduce the error, but here are the problematic steps:
Sometimes this works, sometimes works but when I load my package importing datasets I get
and sometimes the installation itself fails with
in this CI run.
Sorry but the behavior is very erratic and I cannot offer a stable way to trigger the issue.
The text was updated successfully, but these errors were encountered: