Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1626 Discussions

Pip install and conda install errors on Jupyter Lab

darroyob
Employee
4,592 Views

I am getting a new error on Jupyter Lab I have not encountered when installing Python packages before:

>>>!pip install fuzzywuzzy ###This used to work perfectly until two days ago.

Defaulting to user installation because normal site-packages is not writeable
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 0x7fa55f3217d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/fuzzywuzzy/
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 0x7fa55f321bd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/fuzzywuzzy/
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 0x7fa55f321f10>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/fuzzywuzzy/
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 0x7fa55f336290>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/fuzzywuzzy/
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 0x7fa55f3365d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/fuzzywuzzy/
ERROR: Could not find a version that satisfies the requirement fuzzywuzzy (from versions: none)
ERROR: No matching distribution found for fuzzywuzzy

(Same error for ANY package)

 

This is what I have tried:

>>> conda install -c conda-forge fuzzywuzzy

Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/conda-forge/linux-64/current_repodata.json>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
'https://conda.anaconda.org/conda-forge/linux-64'



Note: you may need to restart the kernel to use updated packages.

>>>pip3 install fuzzywuzzy ###in terminal

>>>python -m pip install fuzzywuzzy ###in terminal

 

The pip version seems to be up to date

python -m pip --version
pip 21.1.1 from /glob/development-tools/versions/oneapi/2021.3/inteloneapi/intelpython/latest/lib/python3.7/site-packages/pip (python 3.7)

And cannot install pip again or create a conda environment:

uxxxxx@s001-n002:~$ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: bootstrap.pypa.io

 

Next steps?

 

darroyob_0-1625860643245.png

 

 

darroyob_1-1625860688295.png

 

Labels (2)
0 Kudos
3 Replies
AlekhyaV_Intel
Moderator
4,563 Views

Hi,


Thank you for posting in Intel Forums. Can you share the environment log? You could get it by running command 'env' in DevCloud.

Also could you please run the below provided command in DevCloud to check whether this issue is temporary and let us know?

wget www.google.com

Regards,

Alekhya


0 Kudos
AlekhyaV_Intel
Moderator
4,525 Views

Hi,


Could you please give us an update regarding your issue?


Regards,

Alekhya


0 Kudos
AlekhyaV_Intel
Moderator
4,502 Views

Hi,


As we have not heard back from you, We'll close this enquiry now. If you need further assistance, please post a new question.


Regards,

Alekhya


0 Kudos
Reply