Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to install python pip for python 2.6.6 in oracle linux6

HardikGuptaDec 20 2016 — edited Dec 21 2016

I am trying to install pip in my python 2.6.6, I have Oracle Linux 6

I followed the answers given at this link http://stackoverflow.com/questions/24294467/how-to-install-pip-for-python-2-6

I downloaded get-pip.py file and ran the following command

sudo python2.6 get-pip.py

However I get the following error

[root@bigdatadev3 Downloads]# sudo python2.6 get-pip.py

DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6

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 0x3cad210>: 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 0x3cadad0>: 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 0x3cad6d0>: 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 0x3cad790>: 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 0x3cad110>: 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 error shows some network issue, but I have full open internet access here.

How can I install pip?

I also tried yum, yum install python-pip but it gave the following message

[root@bigdatadev3 ~]# yum install python-pip

Loaded plugins: refresh-packagekit, security, ulninfo

Setting up Install Process

No package python-pip available.

Error: Nothing to do

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jan 18 2017
Added on Dec 20 2016
1 comment
12,194 views