[AstroPy] Coordinates
Miguel de Val-Borro
miguel.deval at gmail.com
Wed Dec 18 11:40:49 EST 2013
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
More information about the AstroPy
mailing list