I have installed astroconda. After activating astroconda by command source activate astroconda
I typed spyder
. Then in Spyder I imported some package import pyfits
and from mayavi import mlab
I see this error:
Traceback (most recent call last): File "", line 1, in ImportError: No module named pyfits
I checked with conda list
and pyfits 3.3 is in installed package list. How tell Spyder to use this package?
Spyder it is not included by default in astroconda. So, when you load it, it uses the version in the Ananconda environment.
To solve this, you only have to install it in astroconda: