[AstroPy] astroquery broken after update?

Peter Teuben teuben at astro.umd.edu
Wed Jul 8 08:39:36 EDT 2015


This problem may be peculiar to my set up, but it's working on my laptop,
but on an anaconda based system where I simply did a "pip install
astroquery"
(which has worked for other things in this way), i can't import any
submodules
under astroquery anymore, viz.

    import astroquery.simbad

would result in the following error, and wondering if this can be fixed
in some
way or another....





ValueError: Input values did not match any of the formats where the
format keyword is optional [u'astropy_time', u'datetime', u'jyear_str',
u'iso', u'isot', u'yday', u'byear_str']

this came from:

/astromake/opt/python/anaconda/lib/python2.7/site-packages/astropy/time/core.pyc
in _get_time_fmt(self, val, val2, format, scale)
--> 281             raise ValueError('Input values did not match
{0}'.format(err_msg))


which came from

/astromake/opt/python/anaconda/lib/python2.7/site-packages/astropy/time/core.pyc
in _init_from_vals(self, val, val2, format, scale, copy)
--> 241         self._time = self._get_time_fmt(val, val2, format, scale)


/astromake/opt/python/anaconda/lib/python2.7/site-packages/astropy/time/core.pyc
in __init__(self, val, val2, format, scale, precision, in_subfmt,
out_subfmt, location, copy)
--> 199             self._init_from_vals(val, val2, format, scale, copy)

/astromake/opt/python/anaconda/lib/python2.7/site-packages/astropy/coordinates/earth_orientation.py
in <module>()
---> 19 jd1950 = Time('B1950', scale='tai').jd








More information about the AstroPy mailing list