mirror.anl.gov: softwarecollections python2.7 numpy install issue

2014-05-07 Thread peter.chiu
Hello,

Having installed the Python2.7 through the repository:

yum-conf-softwarecollections

as suggested in

http://mirror.anl.gov/pub/scientific-linux/6.5/x86_64/external_products/softwarecollections/README

I am then trying to install numpy, pip, scipy, matplotlib etc but they return 
with these errors:

# /opt/rh/python27/root/usr/bin/easy_install-2.7 numpy
Searching for numpy
Reading https://pypi.python.org/simple/numpy/
Download error on https://pypi.python.org/simple/numpy/: [Errno 1] _ssl.c:504: 
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some 
packages may not be found!
Reading https://pypi.python.org/simple/numpy/
Download error on https://pypi.python.org/simple/numpy/: [Errno 1] _ssl.c:504: 
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some 
packages may not be found!
Couldn't find index page for 'numpy' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: 
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some 
packages may not be found!
No local packages or download links found for numpy
error: Could not find suitable distribution for Requirement.parse('numpy')

Similar errors are returned with easy_install rather than easy_install-2.7.

Any idea what is missing here?

Many thanks.

Regards,

Peter Chiu

STFC Rutherford Appleton Laboratory
RAL Space Department
Building R25, Room 2.02
Harwell Oxford
Didcot
OXON
OX11 0QX
UK

-- 
Scanned by iCritical.



Re: mirror.anl.gov: softwarecollections python2.7 numpy install issue

2014-05-07 Thread Elias Persson

On 2014-05-07 15:18, peter.c...@stfc.ac.uk wrote:

Thanks, Elias, for your reply.

# scl enable python27 easy_install numpy
Unable to open /etc/scl/prefixes/easy_install!

Is it expecting easy_install under /etc/scl/prefixes?



No, it's expecting the command to be quoted, which I had missed.

   scl enable python27 'easy_install numpy'

You can enable multiple things at once, so with the unquoted cmd
it thinks easy_install is another thing to be enabled.

Still, that doesn't seem to be related to the problems you're
having.