Enable CentOS 6 pip via Proxy

Conclusion

Updating pip with ʻeasy_install` solves this.

CentOS 6 pip issues

Python-pip that can be entered with yum on CentOS 6 has a problem that search via Proxy does not pass.

I'll do something about it

First, install the python-pip package normally. At this time, python-setuptools is introduced as a dependent package

Introducing pip


yum install -y python-pip

Use ʻeasy_install to update pip`.

pip update


HTTP_PROXY=http://user:[email protected]:port HTTPS_PROXY=$HTTP_PROXY easy_install --upgrade pip

I will try to search

pip search Tinkerer --proxy http://user:[email protected]:port

Tinkerer                  - Sphinx-based blogging engine
sphinxjp.themes.tinkerturquoise - Two column blogging theme tool for Tinkerer, based on turquoise color.
sphinxjp.themes.tinkerbelizehole - A single column blogging theme tool for Tinkerer, based on belizehole color.
Tinkerer-Localpost        - Localhost your Tinkerer blog
rutherford                - Atom feed for Tinkerer
sphinxjp.themes.tinkerbelizeholesidebar - A two column blogging theme tool for Tinkerer, based on belizehole color.
sphinxjp.themes.tinkerpress - A tinkerer theme like some famous blogging tool.
sphinxjp.themes.tinkeralizarin - A single column blogging theme tool for Tinkerer, based on alizarin color.
Twinkerer                 - tinkerer small extension to use twitter api.

Win with this

Recommended Posts

Enable CentOS 6 pip via Proxy
Pip install in proxy environment
Pip install (Windows) under Proxy environment
When pip fails under proxy environment
python memo pip under proxy, easy_install
pip install prevents proxy from installing
Install pip on CentOS7. Also iPython.
Proxy error when running "pip install"