Skip to content
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

pixi shell stalls indefinitely on WSL #2851

Open
2 tasks done
saydemr opened this issue Jan 7, 2025 · 0 comments
Open
2 tasks done

pixi shell stalls indefinitely on WSL #2851

saydemr opened this issue Jan 7, 2025 · 0 comments

Comments

@saydemr
Copy link

saydemr commented Jan 7, 2025

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

On WSL Ubuntu 24.04

pixi shell

Issue description

pixi shell -vvv outputs the following

INFO pixi_manifest::target: Adding pypi dependency: lightning "~=2.4"
 INFO pixi_manifest::target: Adding pypi dependency: torchmetrics "*"
 INFO pixi_manifest::target: Adding pypi dependency: torchvision "*"
 INFO pixi_manifest::target: Adding pypi dependency: jaxtyping "*"
 INFO pixi_manifest::target: Adding pypi dependency: einops "*"
 INFO pixi_manifest::target: Adding pypi dependency: opt-einsum "*"
 INFO pixi_manifest::target: Adding pypi dependency: cachetools "*"
 INFO pixi_manifest::target: Adding pypi dependency: numpy "*"
 INFO pixi_manifest::target: Adding pypi dependency: scipy "*"
 INFO pixi_manifest::target: Adding pypi dependency: scikit-learn "*"
 INFO pixi_manifest::target: Adding pypi dependency: pandas "*"
 INFO pixi_manifest::target: Adding pypi dependency: matplotlib "*"
 INFO pixi_manifest::target: Adding pypi dependency: wandb "~=0.18"
 INFO pixi_manifest::target: Adding pypi dependency: tqdm "*"
 INFO pixi_manifest::target: Adding pypi dependency: rich "*"
 INFO pixi_manifest::target: Adding pypi dependency: ipython "*"
 INFO pixi_manifest::target: Adding pypi dependency: ipdb "*"
 INFO pixi_manifest::target: Adding pypi dependency: jupyterlab "*"
 INFO pixi_manifest::target: Adding pypi dependency: ipympl "*"
DEBUG pixi_config: Loading config from /etc/pixi/config.toml
DEBUG pixi_config: Loading config from /home/<username>/.config/pixi/config.toml
DEBUG pixi_config: Loading config from /home/<username>/.pixi/config.toml
DEBUG pixi_config: Loading config from /home/<username>/unssm/.pixi/config.toml
DEBUG pixi_config: Failed to load local config: /home/<username>/unssm/.pixi/config.toml (error: no file was found at /home/<username>/unssm/.pixi/config.toml)
 INFO pixi::environment: verifying prefix location is unchanged, with prefix file: /home/<username>/unssm/.pixi/envs/conda-meta/pixi_env_prefix
 INFO pixi::lock_file::update: the lock-file is up-to-date
 INFO pixi::lock_file::update: Environment 'default' is up-to-date with lock file hash
DEBUG pixi::activation: Running activation script for Default
DEBUG pixi::cli::shell: Pixi environment activation:
{"CONDA_PREFIX": "/home/<username>/unssm/.pixi/envs/default", "PIXI_PROMPT": "(unssm) ", "CONDA_DEFAULT_ENV": "unssm", "PIXI_IN_SHELL": "1", "PIXI_EXE": "/home/<username>/.pixi/bin/pixi", "PIXI_PROJECT_NAME": "unssm", "PIXI_PROJECT_VERSION": "0.1.0", "PATH": "/home/<username>/unssm/.pixi/envs/default/bin:/home/<username>/.pixi/bin:/usr/local/cuda-12.4/bin:/home/<username>/ic:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/WindowsApps/Microsoft.PowerShell_7.4.6.0_x64__8wekyb3d8bbwe:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.4/bin:/mnt/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.4/libnvvp:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt/c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/GnuPG/bin:/mnt/c/Program Files/NVIDIA/CUDNN/v8.9/bin:/mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/dotnet/:/mnt/c/texlive/2024/bin/windows:/mnt/c/Program Files/NVIDIA Corporation/Nsight Compute 2024.1.1/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA app/NvDLISR:/mnt/c/Program Files/Git/cmd:/mnt/c/Users/<username>/AppData/Local/Programs/Python/Python312/Scripts/:/mnt/c/Users/<username>/AppData/Local/Programs/Python/Python312/:/mnt/c/Users/<username>/AppData/Local/Programs/Python/Python311/Scripts/:/mnt/c/Users/<username>/AppData/Local/Programs/Python/Python311/:/mnt/c/Users/<username>/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/<username>/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/<username>/AppData/Local/Microsoft/WindowsApps:/mnt/c/texlive/2024/bin/windows:/snap/bin", "PIXI_PROJECT_MANIFEST": "/home/<username>/unssm/pyproject.toml", "PIXI_ENVIRONMENT_PLATFORMS": "linux-64", "XML_CATALOG_FILES": "file:///home/<username>/unssm/.pixi/envs/default/etc/xml/catalog file:///etc/xml/catalog", "PIXI_ENVIRONMENT_NAME": "default", "PIXI_PROJECT_ROOT": "/home/<username>/unssm"}
DEBUG rattler_shell::shell: Guessing the current shell is bash. Parent process name: bash and args: []
 INFO pixi::cli::shell: Starting shell: Bash(Bash)

Expected behavior

Pixi starts a shell with the environment activated.

@saydemr saydemr changed the title pixi shell stalls for indefinite amount of time on WSL pixi shell stalls indefinitely on WSL Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant