我已經安裝了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