[AstroPy] pip install issues

Erik Bray embray@stsci....
Tue Apr 23 15:02:28 CDT 2013


On 04/23/2013 02:54 PM, Wolfgang Kerzendorf wrote:
> Well, that is the problem - we've encountered that before. [My opinion which may
> not reflect the astropy community] Use macports instead - it seems to work much
> more reliably.

I don't think that's a helpful solution.  The last thing I want to see on 
another colleague's machine is Python installations from EPD, macports, 
homebrew, etc. all mixed together on the same machine.  People have valid uses 
to be using whatever Python distribution for OSX they're using.

That said, EPD has issues with pip ever since the upgrade to require ssl. 
Instead you can just download the source tarball yourself and install it like so:

$ curl -O http://pypi.python.org/packages/source/a/astropy/astropy-0.2.1.tar.gz
$ pip install astropy-0.2.1.tar.gz

>
> Tom R says:
> ---
> By the way, for anyone migrating from EPD to other solutions, you may
> have to remove your .ipython folder first, as EPD uses a profile for
> IPython that can cause an error with other Python distributions (saw
> an example of that today). I can try and dig out more details if
> anyone is interested.
> ---
>
> Cheers
>      Wolfgang
>
> On 2013-04-23, at 2:50 PM, Desika Narayanan <dnarayanan@as.arizona.edu
> <mailto:dnarayanan@as.arizona.edu>> wrote:
>
>> Yep - exactly
>> -d
>>
>> On Tue, Apr 23, 2013 at 11:49 AM, Wolfgang Kerzendorf <wkerzendorf@gmail.com
>> <mailto:wkerzendorf@gmail.com>> wrote:
>>
>>     Are you running the enthought package by any chance?
>>
>>     Cheers
>>        Team Astropy World Police
>>     On 2013-04-23, at 2:47 PM, Desika Narayanan <dnarayanan@as.arizona.edu
>>     <mailto:dnarayanan@as.arizona.edu>> wrote:
>>
>>>     Hey Team Astropy,
>>>
>>>     I'm having some issues installing astropy from pip (where it seems like
>>>     there's some SSL certificate problem) that I'm not sure how to fix.
>>>
>>>     I'm running Mountain Lion (OS X) and python version 2.7.3:
>>>
>>>     >>> import sys
>>>     >>> print sys.version
>>>     2.7.3 |EPD 7.3-1 (32-bit)| (default, Apr 12 2012, 11:28:34)
>>>     [GCC 4.0.1 (Apple Inc. build 5493)]
>>>
>>>
>>>     When I do:
>>>
>>>     [longtrail:~] dnarayanan% pip install astropy
>>>
>>>     I get:
>>>
>>>     Downloading/unpacking astropy
>>>       Could not fetch URL https://pypi.python.org/simple/astropy/: There was
>>>     a problem confirming the ssl certificate: <urlopen error [Errno 1]
>>>     _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown
>>>     message digest algorithm>
>>>       Will skip URL https://pypi.python.org/simple/astropy/ when looking for
>>>     download links for astropy
>>>       Could not fetch URL https://pypi.python.org/simple/: There was a
>>>     problem confirming the ssl certificate: <urlopen error [Errno 1]
>>>     _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown
>>>     message digest algorithm>
>>>       Will skip URL https://pypi.python.org/simple/ when looking for download
>>>     links for astropy
>>>       Cannot fetch index base URL https://pypi.python.org/simple/
>>>       Could not fetch URL https://pypi.python.org/simple/astropy/: There was
>>>     a problem confirming the ssl certificate: <urlopen error [Errno 1]
>>>     _ssl.c:504: error:0D0890A1:asn1 encoding routines:ASN1_verify:unknown
>>>     message digest algorithm>
>>>       Will skip URL https://pypi.python.org/simple/astropy/ when looking for
>>>     download links for astropy
>>>       Could not find any downloads that satisfy the requirement astropy
>>>     Cleaning up...
>>>     No distributions at all found for astropy
>>>
>>>
>>>
>>>
>>>     Thanks for any help
>>>
>>>     -desika
>>>
>>>
>>>     _______________________________________________
>>>     AstroPy mailing list
>>>     AstroPy@scipy.org <mailto:AstroPy@scipy.org>
>>>     http://mail.scipy.org/mailman/listinfo/astropy
>>
>>
>
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy@scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy
>



More information about the AstroPy mailing list