Unable to update PIP

1,202 views
Skip to first unread message

Paul Haynes

unread,
Jan 31, 2018, 9:35:00 AM1/31/18
to archivematica
Hi All

I have been asked to install AtoM and Archivematica in a TEST Environment for some staff to lookover to see if it meets theirs needs. Atom is sorted but i am having a problem with the Archivematica server.

The Server is running Ubuntu 16.04.3 LTS, and resides behind a proxy. 

I have been following the instructions at https://www.archivematica.org/en/docs/archivematica-1.6/admin-manual/installation/installation/#install-pkg-ubuntu but at the stage for upgrading PIP i receive the attached error.

root@nccvmliam81:~# sudo python get-pip.py
Collecting pip
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15842c2310>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15842c28d0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15842c2b90>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15842c2e50>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f15842c2750>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/pip/
  Could not find a version that satisfies the requirement pip (from versions: )
No matching distribution found for pip

The instructions state that the step is not required but wise to have. if i leave it off, then i end up with the ArchiveMatica common services failing to start.

I have tried the upgrade PIP from the developers site and that fails as PIP not installed.

root@nccvmliam81:~# pip install -U pip
The program 'pip' is currently not installed. You can install it by typing:
apt install python-pip

Python is installed an version 2.7.12 so pip as far as i know should be installed.

root@nccvmliam81:~# python -V
Python 2.7.12
root@nccvmliam81:~#

Please can anyone shed some wisdom on where it is that i'm going wrong?

Thanks

Paul
output.png

Sara @ Artefactual

unread,
Jan 31, 2018, 12:51:53 PM1/31/18
to archivematica
Hi there,

Testing the instructions myself, I'm able to run sudo python get-pip.py and get the expected result. If I run pip -V I can see that I've got pip 9.0.1. Even though pip is supposed to be packaged with your version of python, you could try installing it manually to see if that improves your results.

Regards,

Sara Allain
Systems Archivst
Artefactual Systems, Inc.
Reply all
Reply to author
Forward
0 new messages