我已经设法在我的Mac上安装并运行了spyder,但我想添加一些默认情况下不包含的模块(mahotas和pymorph)。我通过终端中的easy_install安装了两者,并且似乎都安装了没有任何错误消息。从终端运行python并使用importmahotas和importpymorph工作得很好,没有错误消息。但是,当我从spyder中的脚本运行相同的行时,会出现以下错误:Traceback(mostrecentcalllast):File"",line1,inFile"/opt/local/Library/Frameworks/Python.framework/Versions/2