How best to install path.py package on Centos 5?

David Aldrich David.Aldrich at EMEA.NEC.COM
Mon Feb 23 11:40:54 EST 2015


Hi

I want to install path.py in my Python 3.4 environment on a Centos 5 box.

My /usr/local/bin/ contains:

easy_install-3.4
python3.4
etc.

We are behind a proxy server.

I tried this:

# /usr/local/bin/easy_install-3.4 path.py
Searching for path.py
Reading https://pypi.python.org/simple/path.py/
Download error on https://pypi.python.org/simple/path.py/: hostname '172.29.68.1
' doesn't match either of 'www.python.org', 'python.org', 'pypi.python.org',
'docs.python.org', 'testpypi.python.org', 'bugs.python.org', 'wiki.python.org',
'hg.python.org', 'mail.python.org', 'packaging.python.org', 'pythonhosted.org',
'www.pythonhosted.org', 'test.pythonhosted.org', 'us.pycon.org', 'id.python.org' --
Some packages may not be found!
Couldn't find index page for 'path.py' (maybe misspelled?)


Am I best to use pip or easy_install?

If easy_install, how can I fix the above error?

Thanks in advance.

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150223/759d033a/attachment.html>


More information about the Python-list mailing list