-
Notifications
You must be signed in to change notification settings - Fork 137
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
Strange MKL dependency + allowUnfree error #67
Comments
I had the same thing happen. For now, I just worked around this by running NIXPKGS_ALLOW_UNFREE=1 nix-shell instead of just |
I think https://github.com/tweag/jupyterWith/blob/b12e8296a736725690ba73831cc987ce1c016275/default.nix#L2 is the culprit--not sure this is needed...or at least should default to |
The Nixpkgs used by JupyterWith is overrided, and pinned by the commit used in the repo. Since the configuration is defined for each Nixpkgs, it has to be set up manually. The For the unfree problem, you can set: For the problem of having MKL in the dependency graph, did you manage to track which dependency brings with JupyterWith? |
@tbenst This could be off-topic but we configured numpy with MKL in an overlay and so far haven't had any complaints about scikit-learn. Could you please share what is broken? |
Closing out old issues with no activity in preparation for migration to the |
Ok I'm baffled...I have
{ allowUnfree = true; }
in my~/.config/nixpkgs/config.nix
and furthermore, I do not use MKL in any python overlays as it breaks scikit-learn.I have two nearly identical shells other than one using vanilla jupyter and the other jupyterWith:
https://gist.github.com/tbenst/c88da1138628a6be1d5b88d3a9337f2a
The former builds fine, but the latter gives:
Note that
nix-shell -p mkl
also works fine. Any idea what could be happening?The text was updated successfully, but these errors were encountered: