Open mmayla opened 1 month ago
When I try to install python311Packages.torch-bin, python311Packages.torchvision-bin or python311Packages.torchaudio-bi
I get the error:
error: cannot find flake 'flake:nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e' in the flake registries
add
{ "packages": ["python@3.11", "python311Packages.pip@latest", "zlib@latest"], "shell": { "init_hook": [ ". $VENV_DIR/bin/activate", "pip install -r requirements.txt" ], "scripts": { "test": ["echo \"Error: no test specified\" && exit 1"] } } }
0.8.2
nix (Nix) 2.18.1
Linux (x86-64)
Info: Adding package "python311Packages.torch-bin@latest" to devbox.json Ensuring nixpkgs registry is downloaded. error: cannot find flake 'flake:nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e' in the flake registries Ensuring nixpkgs registry is downloaded: Fail Error: There was an error installing nix packages source: Command: /run/current-system/sw/bin/nix flake prefetch nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure: exit status 1 Error: There was an internal error. Run with DEVBOX_DEBUG=1 for a detailed error message, and consider reporting it at https://github.com/jetpack-io/devbox/issues (.venv) (devbox) mmayla@nixos:/Workspace/my-project/ > DEVBOX_DEBUG=1 devbox add python311Packages.torch-bin@latest 2024/05/27 23:08:06 findProjectDir: path is 2024/05/27 23:08:06 finding devbox.json in dir: /Workspace/my-project/ 2024/05/27 23:08:06 findProjectDir: path is 2024/05/27 23:08:06 finding devbox.json in dir: /Workspace/my-project/ 2024/05/27 23:08:06 findProjectDir: path is 2024/05/27 23:08:06 finding devbox.json in dir: /Workspace/my-project/ Info: Adding package "python311Packages.torch-bin@latest" to devbox.json 2024/05/27 23:08:06 Creating files for package "python@3.11" create files 2024/05/27 23:08:06 Creating files for package "python311Packages.pip@latest" create files 2024/05/27 23:08:06 Creating file "/Workspace/my-project/.devbox/virtenv/python311Packages.pip/bin/venvShellHook.sh" from contentPath: "pip/venvShellHook.sh" Ensuring nixpkgs registry is downloaded. error: cannot find flake 'flake:nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e' in the flake registries Ensuring nixpkgs registry is downloaded: Fail Error: There was an error installing nix packages source: Command: /run/current-system/sw/bin/nix flake prefetch nixpkgs/3f316d2a50699a78afe5e77ca486ad553169061e --extra-experimental-features ca-derivations --option experimental-features nix-command flakes fetch-closure: exit status 1 2024/05/27 23:08:06 Command stderr: 2024/05/27 23:08:06 ExecutionID:5a77d1ec1aa448e49d5d4491bc2343b5 <nil> 2024/05/27 23:08:06 findProjectDir: path is 2024/05/27 23:08:06 finding devbox.json in dir: /Workspace/my-project/
What happened?
When I try to install python311Packages.torch-bin, python311Packages.torchvision-bin or python311Packages.torchaudio-bi
I get the error:
Steps to reproduce
Command
add
devbox.json
Devbox version
0.8.2
Nix version
nix (Nix) 2.18.1
What system does this bug occur on?
Linux (x86-64)
Debug logs