SCIENTIFIC-LINUX-USERS Archives

May 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Peter C. Chiu" <[log in to unmask]>
Reply To:
Date:
Wed, 7 May 2014 13:18:09 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (73 lines)
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?

easy_install and easy_install-2.7 are placed under

#ls /opt/rh/python27/root/usr/bin
2to3              pybabel       python2.7         rst2odt             smtpd.py
easy_install      pydoc         python2.7-config  rst2odt_prepstyles  sphinx-apidoc
easy_install-2.7  pygettext.py  python2-config    rst2pseudoxml       sphinx-autogen
...


I have also tried:
# scl enable python27 bash
# easy_install pip
Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [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/pip/
Download error on https://pypi.python.org/simple/pip/: [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 'pip' (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 pip
error: Could not find suitable distribution for Requirement.parse('pip')

So still no joy...

Regards,
Peter

-----Original Message-----
From: Elias Persson [mailto:[log in to unmask]] 
Sent: 07 May 2014 14:04
To: [log in to unmask]
Subject: Re: mirror.anl.gov: softwarecollections python2.7 numpy install issue

On 2014-05-07 13:15, [log in to unmask] wrote:
> 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_product
> s/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
>

Possibly not related to your issues, but the recommended / expected way to use the scl stuff is via `scl enable <thing> <command>`.
In your example:

    $ scl enable python27 easy_install numpy

or

    $ scl enable python27 bash
    $ easy_install pip
    $ pip install numpy scipy ...
-- 
Scanned by iCritical.

ATOM RSS1 RSS2