我想运行星象查询包的NED查询。
from astroquery.ned import Ned
result_table = Ned.query_object("NGC 224")这是通过纪录片中的例子来说明的。
我有以下问题:
TableParseError: Failed to parse NED result! The raw response can be found in
self.response, and the error in self.table_parse_error.在self.table_parse_error中,我发现:
AttributeError("'bytes' object has no attribute 'encode'")我不知道出了什么问题。
以下是我的版本:
Python 3.4.1 (default, May 19 2014, 17:23:49) [GCC 4.9.0 20140507 (prerelease)]
SciPy 0.14.0
Cython 0.20.1
OS posix [linux]
Numpy 1.8.1
IPython 2.1.0发布于 2014-06-16 14:04:35
这是在天文查询中作为一个问题提出的,并且是一个已确认的错误:https://github.com/astropy/astroquery/pull/343
应该很快就能修好
https://stackoverflow.com/questions/24244513
复制相似问题