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-kernel not detecting pixi #43

Open
benwilks opened this issue Jan 8, 2025 · 1 comment
Open

pixi-kernel not detecting pixi #43

benwilks opened this issue Jan 8, 2025 · 1 comment
Labels
waiting-author Waiting for feedback from OP

Comments

@benwilks
Copy link

benwilks commented Jan 8, 2025

Hi, I'm struggling to get pixi-kernel to work on my setup. I have jupyterhub with docker-spawner that spins up a container when a user logs in. After adding pixi and pixi-kernel to the container and restarting it, I can see pixi python and R kernels in the launcher but when I try to run any code cells I get the following error:

Pixi was not detected in your system.
Please, follow the steps below to install Pixi:
1. Visit the Pixi installation guide at https://pixi.sh/.
2. Verify Pixi was installed by running 'which pixi' in your terminal.
3. Restart JupyterLab.

If you continue to face issues, report them at https://github.com/renan-r-santos/pixi-kernel/issues

However, pixi (version 0.39.5) works in the terminal and which pixi yields /home/jovyan/.pixi/bin/pixi

@benwilks benwilks changed the title Jupyter Hub dockerspawner containers unable to detect pixi pixi-kernel not detecting pixi Jan 8, 2025
@renan-r-santos
Copy link
Owner

Hi, thanks for the bug report.

I have jupyterhub with docker-spawner that spins up a container when a user logs in.

Could you share the Dockerfile you're using for this container? If not, a minimum Dockerfile reproducing the issue would be great.
You could also try using one of the official Pixi docker images as the base image of your container, e.g. ghcr.io/prefix-dev/pixi:0.39.5-jammy, see https://github.com/prefix-dev/pixi-docker/pkgs/container/pixi.

@renan-r-santos renan-r-santos added the waiting-author Waiting for feedback from OP label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-author Waiting for feedback from OP
Projects
None yet
Development

No branches or pull requests

2 participants