在不使用 Anaconda 的情况下尝试通过 cmd 安装 seaborn 时出错

Error trying to install seaborn through cmd without using Anaconda

我一直在尝试通过 cmd 安装 seaborn,而不是通过以下命令使用 Anaconda:pip install seaborn。我在目录 C:\Python27\Scripts 的 cmd 中 运行 这个命令,我得到这个错误:

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\
\users\user\appdata\local\temp\pip-build-ira6iy\scipy\setup.py';f=getattr
(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close()
;exec(compile(code, __file__, 'exec'))" install --record c:\users\user\appdata\l
ocal\temp\pip-wzz50c-record\install-record.txt --single-version-externally-manag
ed --compile" failed with error code 1 in c:\users\user\appdata\local\temp\pip-b
uild-ira6iy\scipy\

如有任何帮助,我们将不胜感激!

在这里下载轮子并输入 pip install seaborn‑0.7.1‑py2.py3‑none‑any.whl 在这里搜索它应该更容易:http://www.lfd.uci.edu/~gohlke/pythonlibs/

虽然与错误一样神秘,但您是否先安装了 SciPy?这就是我能收集到的所有信息,因为可能缺少 pip install scipy