我已经安装了APLpy(版本0.9.12)&我有python 2.7。APLpy属性错误:'模块'对象没有属性'FITSfigure'
我有一个名为“test.fits”的FITS图片。
我给下面的命令:
import aplpy
fig = aplpy.FITSfigure("test.fits")
然后我得到这个消息:
AttributeError: 'module' object has no attribute 'FITSfigure'
我得到了同样的消息,当我尝试以下操作:
fig = aplpy.aplpy.FITSfigure("test.fits")
我是新来的Python & APLpy。
始终在您的问题*全回溯*。在这种情况下,我可以使用它准确地确定需要重命名的文件,以避免掩盖您想要使用的模块。 – 2014-09-29 08:47:57