Miguel de Val-Borro
miguel.deval at gmail.com
Wed Dec 18 11:40:49 EST 2013
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?
On Wed, Dec 18, 2013 at 02:29:33PM -0200, Leticia Rodriguez wrote:
> 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?
> AstroPy mailing list
> AstroPy at scipy.org
More information about the AstroPy