Как установить пакет на моем ноутбуке jupyter, который доступен только на pip, а не на conda? - PullRequest
0 голосов
/ 11 февраля 2020

Я пытаюсь установить пакет с помощью pip на моем кластере, который находится за прокси-сервером моей компании. У моей компании есть полный клон для всех пакетов conda. Любой запрос на установку любых пакетов направляется в облако пакетов conda моей компании, откуда мы устанавливаем пакеты. Таким образом, мы не можем загружать пип-пакеты.

!pip3 install asammdf

Это дает мне:

Collecting asammdf
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe6d7d32b70>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/asammdf/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe6d7d32e48>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/asammdf/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe6d7d32d30>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/asammdf/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe6d7d32470>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/asammdf/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fe6d7d32128>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/asammdf/
  Could not find a version that satisfies the requirement asammdf (from versions: )
No matching distribution found for asammdf

Мне нужно установить этот пакет asammdf в моем кластере, есть ли способ сделать это

1 Ответ

0 голосов
/ 11 февраля 2020

Asammdf доступен в Conda Forge. Разве это не клонировано вашим внутренним сервером?

...