[Nix-dev] Cannot import scipy

Tom Dimiduk tom at dimiduk.net
Sat Dec 6 16:18:30 CET 2014


I am running nixos-unstable, and having trouble getting scipy to import.

I attempted to follow the instructions on the nixos python wiki page:
https://nixos.org/wiki/Python

and have an entry in my config.nix:

    myScipyEnv = pkgs.myEnvFun {
      name = "scipy";
      buildInputs = with pkgs.python27Packages; [
        scipy
      ];
    };

Then I did:

nix-env -i env-scipy

But importing scipy fails with:

ImportError: No module named scipy

Is this the correct way to use scipy? This route has worked for me
with other python packages.

Thanks,
Tom


More information about the nix-dev mailing list