[AstroPy] Coordinates

Miguel de Val-Borro miguel.deval at gmail.com
Wed Dec 18 11:53:04 EST 2013


Hi Leticia,

This command will install the newest available release and uninstall the
previous one (if it was installed by pip).

pip install --upgrade astropy

Miguel

On Wed, Dec 18, 2013 at 02:42:40PM -0200, Leticia Rodriguez wrote:
> 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
> >
> >



More information about the AstroPy mailing list