IBM Support

Jupyter Notebook installation fails on a machine isolated from the network

Troubleshooting


Problem

When attempting to install Jupyter Notebook on a machine isolated from the network (no Internet access), you receive the following errors :

Symptom

=> ERROR [ 7/15] RUN if [ -s additional_pip_packages.txt ]; then         pip install --user -r additional_pip_packages.txt;     fi  && rm additional_pip_packages.txt            12.7s
------
 > [ 7/15] RUN if [ -s additional_pip_packages.txt ]; then         pip install --user -r additional_pip_packages.txt;     fi  && rm additional_pip_packages.txt:
#‌11 1.215 Collecting pixiedust==1.1.17 (from -r additional_pip_packages.txt (line 4))
#‌11 1.865   Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/pixiedust/
#‌11 3.129   Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/pixiedust/
#‌11 4.685   Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/pixiedust/
#‌11 7.401   Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/pixiedust/
#‌11 11.99   Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/pixiedust/
#‌11 12.62   Could not fetch URL https://pypi.org/simple/pixiedust/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pixiedust/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))) - skipping
#‌11 12.62   Could not find a version that satisfies the requirement pixiedust==1.1.17 (from -r additional_pip_packages.txt (line 4)) (from versions: )
#‌11 12.62 No matching distribution found for pixiedust==1.1.17 (from -r additional_pip_packages.txt (line 4))
------
executor failed running [/bin/sh -c if [ -s additional_pip_packages.txt ]; then         pip install --user -r additional_pip_packages.txt;     fi  && rm additional_pip_packages.txt]: exit code: 1
Error response from daemon: No such image: ca_jupyter_server_instance:2021-01-28_15-59-45
Building Viewer
Loading viewer image
Loaded image: ca_jupyter_viewer_original:11.1.7-201123161402
Tagging as 'installed'
base image is ca_jupyter_viewer_original:11.1.7-201123161402
"Building docker image for viewer
CLIENT_TAG 2021-01-28_16-00-11
***************************************************************************************
=> ERROR [ 9/15] RUN if [ -s additional_conda_packages.txt ]; then         conda install --yes --file additional_conda_packages.txt;     fi  && rm additional_conda_packages.txt  4.7s
------
 > [ 9/15] RUN if [ -s additional_conda_packages.txt ]; then         conda install --yes --file additional_conda_packages.txt;     fi  && rm additional_conda_packages.txt:
#‌13 0.661 Solving environment: ...working...
#‌13 4.596 CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/pro/linux-64/repodata.json.bz2>;
#‌13 4.596 Elapsed: -
#‌13 4.596
#‌13 4.596 An HTTP error occurred when trying to retrieve this URL.  pip install --user -r additional_pip_packages.txt;     fi  && rm additional_pip_packages.txt                   1.7s
#‌13 4.596 HTTP errors are often intermittent, and a simple retry will get you on your way.                                                                                         0.1s
#‌13 4.596 ] RUN if [ -s additional_conda_packages.txt ]; then         conda install --yes --file additional_conda_packages.txt;     fi  && rm additional_conda_packages.txt        1.9s
#‌13 4.596 If your current network has https://www.anaconda.com blocked, please file
#‌13 4.596 a support request with your network engineering team.       conda install --yes --file additional_conda_packages.txt;     fi  && rm additional_conda_packages.txt        1.7s
#‌13 4.596 olving environment: ...working...
#‌13 4.596 SSLError(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/pro/linux-64/repodata.json.bz2 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)')))"))
#‌13 4.596  is ca_jupyter_hub_original:11.1.7-201123161402
#‌13 4.596 docker image for hub
#‌13 4.597 failed01-28_14-04-48
------
executor failed running [/bin/sh -c if [ -s additional_conda_packages.txt ]; then         conda install --yes --file additional_conda_packages.txt;     fi  && rm additional_conda_packages.txt]: exit code: 1
Error response from daemon: No such image: ca_jupyter_server_instance:2021-01-28_14-06-29

Document Location

Worldwide

[{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m0z000000GpAVAA0","label":"Installation and Configuration-\u003EJupyter Notebook"}],"ARM Case Number":"TS004715544","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"11.1.7"},{"Product":{"code":"SS6G84","label":"IBM Cognos Analytics on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
14 January 2026

UID

ibm16411257