-
Notifications
You must be signed in to change notification settings - Fork 18
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
genv-help: command not found #15
Comments
version: latest |
Hi @InCogNiTo124 ! I wonder if it was a problem in a previous version of Genv and now it is solved. If this still fails, can you run the following commands and share their outputs here:
Waiting for hearing from you and thanks for reaching out! |
hey @razrotenberg! Unfortunately the issue persists for me. This is our FROM jupyterhub/singleuser:3.1.0
RUN apt update && apt install -y ffmpeg libsm6 libxext6 git
RUN conda install -y -c conda-forge genv jupyterlab_genv building the image with msmetko@5ef780f06b03:~/work$ which genv
/opt/conda/bin/genv
msmetko@5ef780f06b03:~/work$ type genv
genv is hashed (/opt/conda/bin/genv)
msmetko@5ef780f06b03:~/work$ ls -la /opt/conda/bin/genv
lrwxrwxrwx 1 root users 24 Jan 13 12:17 /opt/conda/bin/genv -> ../opt/genv/libexec/genv
msmetko@5ef780f06b03:~/work$ ls -la /opt/conda/opt/genv/
total 112
drwxr-sr-x 11 root users 4096 Jan 13 12:17 .
drwxr-sr-x 3 root users 4096 Jan 13 12:17 ..
-rwxrwxr-x 2 root root 68 Dec 22 20:48 .bashrc
drwxr-sr-x 2 root users 4096 Jan 13 12:17 bin
-rw-rw-r-- 1 root users 2478 Jan 13 12:17 build_env_setup.sh
-rwxrwxrwx 2 root root 444 Dec 22 20:56 conda_build.sh
drwxr-sr-x 3 root users 4096 Jan 13 12:17 docs
drwxr-sr-x 2 root users 4096 Jan 13 12:17 exe
-rw-rw-r-- 2 root root 92 Dec 22 20:48 .flake8
drwxr-sr-x 3 root users 4096 Jan 13 12:17 .github
-rw-rw-r-- 2 root root 42 Dec 22 20:48 .gitignore
drwxr-sr-x 2 root users 4096 Jan 13 12:17 images
drwxr-sr-x 2 root users 4096 Jan 13 12:17 libexec
-rw-rw-r-- 2 root root 34523 Dec 22 20:48 LICENSE
-rw-rw-r-- 2 root root 842 Dec 22 20:56 metadata_conda_debug.yaml
drwxr-sr-x 2 root users 4096 Jan 13 12:17 py
-rw-rw-r-- 2 root root 5331 Dec 22 20:48 README.md
drwxr-sr-x 2 root users 4096 Jan 13 12:17 shims
drwxr-sr-x 2 root users 4096 Jan 13 12:17 .vscode
msmetko@5ef780f06b03:~/work$ conda list | grep genv
genv 0.4.0 ha770c72_0 conda-forge
jupyterlab_genv 0.1.2 pyhd8ed1ab_0 conda-forge |
However, I sort of managed to make it run with this: msmetko@5ef780f06b03:~/work$ /opt/conda/opt/genv/bin/genv
Usage: genv <command>
Available commands:
activate Activate environment
attach Attach devices to this environment
commands List all available genv commands
config Configure this environment
deactivate Deactivate environment
detach Detach devices from this environment
devices Print information of devices
envs Print information of active environments
exec Run a genv executable
help Print this help message
home Display the directory containing the configuration of this environment
init Add genv support to your shell
remote Query genv on remote hosts
root Display the root directory where genv is installed
status Show status of the current environment |
I'm trying to reproduce what you are seeing. I have another question though, how do you run the bash inside the container? Can you please try running the following command and then check if
|
Sorry for the delay! Work got in the way :// Running the command above resulted with:
|
I discovered the problem may be connected to the fact that, while building the image, the commands are run as |
Ok thanks for sharing! |
Installed in a
jupyterhub/singleuser:3.1.0
docker container withconda install -y -c conda-forge genv
running
genv
,genv config
,genv activate
returns:The text was updated successfully, but these errors were encountered: