First of all, nix-env -i env-scipy installs an environment, that you must load with load-env-scipy. Second, you better add python to the buildInputs.
On Sat, Dec 6, 2014 at 4:18 PM, Tom Dimiduk <[email protected]> wrote: > 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 > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev > -- NixOS Linux <http://nixos.org>
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
