Cannot install anything with Python in isaac-sim:2022.1.0 docker image

Continuing the discussion from A problem in isaac-sim:2022.1.0 docker image:

I am trying to create my own environment with the isaac-sim:2022.1.0 docker image but without success. Whenever I am trying to use pip I end up with the followings:

Looking in indexes: https://urm.nvidia.com/artifactory/api/pypi/ct-omniverse-mirror-pypi/simple
Requirement already satisfied: pip in ./kit/python/lib/python3.7/site-packages (21.2.1+nv1)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9726119d90>: Failed to establish a new connection: [Errno -5] No address associated with hostname')': /artifactory/api/pypi/ct-omniverse-mirror-pypi/simple/pip/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9726108990>: Failed to establish a new connection: [Errno -5] No address associated with hostname')': /artifactory/api/pypi/ct-omniverse-mirror-pypi/simple/pip/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9726119e50>: Failed to establish a new connection: [Errno -5] No address associated with hostname')': /artifactory/api/pypi/ct-omniverse-mirror-pypi/simple/pip/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f97260b31d0>: Failed to establish a new connection: [Errno -5] No address associated with hostname')': /artifactory/api/pypi/ct-omniverse-mirror-pypi/simple/pip/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f97260b3510>: Failed to establish a new connection: [Errno -5] No address associated with hostname')': /artifactory/api/pypi/ct-omniverse-mirror-pypi/simple/pip/

Even changing the /etc/apt/sources.list as suggested in the previous discussion does not help. Has anyone some clue ?

Hi @loic.sacre

The problem is that Isaac Sim python in docker is configured to use an NVIDIA repository URL https://urm.nvidia.com/artifactory/api/pypi/ct-omniverse-mirror-pypi/simple

The easiest solution is to install a package is to indicate the default pip URL https://pypi.org/simple as follow

/isaac-sim/kit/python/bin/python3 -m pip install PACKAGE_NAME -i https://pypi.org/simple

For example, installing gym

/isaac-sim/kit/python/bin/python3 -m pip install gym -i https://pypi.org/simple

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.