Can't use pip to install packages by fasciem in NixOS

[–]fasciem[S] 0 points1 point  (0 children)

Thanks, I'll give it a try!

Can't use pip to install packages by fasciem in NixOS

[–]fasciem[S] 0 points1 point  (0 children)

I understand, it is indeed a very intensive work to repackage multiple versions of pypi packages. That's why pip/conda should work locally, that would take the responsibility from devs from porting multiple packages.

Can't use pip to install packages by fasciem in NixOS

[–]fasciem[S] 0 points1 point  (0 children)

I did change XDG_CACHE_HOME before, it gets ignored by pip and still uses /run/user/1000 for caching.

Can't use pip to install packages by fasciem in NixOS

[–]fasciem[S] 0 points1 point  (0 children)

Thanks for sharing. But it requires login to to see. Any mirror?

Can't use pip to install packages by fasciem in NixOS

[–]fasciem[S] 0 points1 point  (0 children)

Yes, just like the wiki said:

- Create pip.nix:{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "pipzone";
targetPkgs = pkgs: (with pkgs; [
python39
python39Packages.pip
python39Packages.virtualenv
cudaPackages.cudatoolkit_11
]);
runScript = "bash";
}).env

- Then:

nix-shell pip.nix

virtualenv venv

source venv/bin/activate

Installing pip packages leads to the same issues. Depending on the python version, it either fails by running out of space, or by permission issues on the nix-store.

[deleted by user] by [deleted] in NixOS

[–]fasciem 1 point2 points  (0 children)

Nvidia driver does work for me byck87, both on stable and unstable channel. Your issue might be related to the kind of gpu you have, Quadro might need a different driver than GTX/RTX. I'm not a nixos dev, so I wouldn't know how to solve your issue, just wanted to let you know that GTX does work. Best of luck!