spyder seaborn 导入模块 macbook

spyder seaborn import module macbook

我在 macbook 上使用 spyder (python2.7) 进行数据分析

import seaborn as sis

但是当我 运行:

ImportError: No module named seaboard

我使用 conda install seaborn 和 pip2.7 安装了 seaborn,但在 spyder 中仍然有问题。如果 运行 在终端中作为 python2.7 file.py 它有效,所以我想我无法在 spyder 中正确导入 seaborn。

PS: 我还尝试将包所在的正确路径添加到 python 路径管理器中......

非常感谢

康达安装: http://conda.pydata.org/miniconda.html

conda install seaborn

您应该使用 conda 来完成简单的步骤,或者按照本教程进行操作:

https://stanford.edu/~mwaskom/software/seaborn/installing.html