[AstroPy] Coordinates

Leticia Rodriguez iafe.leticia at gmail.com
Wed Dec 18 11:42:40 EST 2013


Hi Miguel,

I used pip but I'm having some problems with the Linux version to upgrade
astropy.

It's on version 0.2.4

I'm going to fix it.
Thanks for all your answers.

BR
Leticia.


2013/12/18 Miguel de Val-Borro <miguel.deval at gmail.com>

> Hi Leticia,
>
> The coordinates example should work on astropy 0.3. Which method have
> you used to install astropy on your system? Could you print
> astropy.__version__ in the interpreter to make sure that you are
> importing the latest astropy release?
>
> Best,
> Miguel
>
> On Wed, Dec 18, 2013 at 02:29:33PM -0200, Leticia Rodriguez wrote:
> > Hi,
> >
> > I'm trying to do an example from release 0.3 doc:
> >
> > >>> from astropy import coordinates as coords>>> c =
> coords.ICRS.from_name('M31')
> >
> >
> > but i'm getting this error:
> >
> > ERROR: AttributeError: 'module' object has no attribute 'ICRS' [__main__]
> > Traceback (most recent call last):
> >   File "coordinates.py", line 7, in <module>
> >     c = coords.ICRS.from_name('M31')
> > AttributeError: 'module' object has no attribute 'ICRS'
> >
> > Does anyone has the same error?
> >
> > Cheers,
> > Leticia.
>
> > _______________________________________________
> > AstroPy mailing list
> > AstroPy at scipy.org
> > http://mail.scipy.org/mailman/listinfo/astropy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20131218/81e3a3b3/attachment.html>


More information about the AstroPy mailing list