我安装了astroconda。在通过命令source activate astroconda
激活astroconda之后,我键入了spyder
。然后在Spyder中我导入了一些包import pyfits
和{}
我看到了这个错误:
Traceback (most recent call last): File "", line 1, in
ImportError: No module named pyfits
我检查了conda list
,pyfits 3.3在安装包列表中。如何告诉Spyder使用这个软件包?在
Tags:
默认情况下,astroconda中不包含Spyder。因此,当您加载它时,它使用Ananconda环境中的版本。在
要解决这个问题,您只需在astroconda中安装它:
相关问题 更多 >
编程相关推荐