I’m currently working through the “Building Real-Time Video AI Applications” certification on NVIDIA’s DLI Jupyter platform. During Step 2.2 of the assessment notebook, I encountered a critical issue when executing the ngc registry model list command.
Here’s the exact error message:
Error loading Python lib ‘/dli/task/ngc_assets/ngccli/ngc-cli/libpython3.11.so.1.0’:
dlopen: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28’ not found
(required by /dli/task/ngc_assets/ngccli/ngc-cli/libpython3.11.so.1.0)
It seems that the default NGC CLI used in the notebook expects a newer version of glibc than what is currently available in the container environment.
❓What I’ve Tried:
Re-running Step 2.1 to re-download and extract the CLI.
Verifying system GLIBC version (it’s below 2.28).
Attempted to run ngc CLI from the shell — same result.
❓My Questions:
Is this a known issue with the current DLI environment?
Is there a way to manually switch to an older version of the NGC CLI (e.g., ngccli_cat_linux) that is compatible with this GLIBC version?
If so, could anyone share the steps or workaround?
Any help would be greatly appreciated. I’m currently blocked and cannot proceed with downloading the DashCamNet model for the next steps in the course.
Same here. I didn’t have any issue when doing part 1 or part 2 of the interactive content, but it started to happen during the coding assignment. So I went back to my previous assignment and they got the same error when running ngc.
Thank you for taking the course. It looks like NGC made an update recent that’s causing this issue.
Manually downloading an older version of the NGC CLI would work. For example, I tested it with v3.60.0 found here. Please manually install a working version until the course is patched.
Yes something like this worked perfectly, if you replace the code cell with the below:
# DO NOT CHANGE THIS CELL
import os
os.environ['NGC_DIR']='/dli/task/ngc_assets'
ngc_cli_path = os.path.join(os.environ['NGC_DIR'], 'ngccli')
ngc_zip_file = os.path.join(ngc_cli_path, 'ngccli_linux.zip') # Define the specific zip filename
# Clean up previous attempts FIRST
!rm -rf $ngc_cli_path
# Download and install specific NGC CLI version
!mkdir -p $ngc_cli_path
!wget "https://api.ngc.nvidia.com/v2/resources/nvidia/ngc-apps/ngc_cli/versions/3.60.0/files/ngccli_linux.zip" -O $ngc_zip_file # Use -O to force filename
!unzip -o -u "$ngc_zip_file" -d $ngc_cli_path/
!rm $ngc_zip_file
os.environ["PATH"]="{}/ngccli/ngc-cli:{}".format(os.getenv("NGC_DIR", ""), os.getenv("PATH", ""))