【发布时间】:2014-08-05 03:34:14
【问题描述】:
在运行 Python 2.7 的 Ubuntu 12.04 LTS 上,我在尝试将美观的 Seaborn 绘图包添加到运行良好的现有 Pandas 环境时遇到安装错误。
这是来自控制台的包含错误的 sn-p:
~$ pip install seaborn
running install_lib
creating /usr/local/lib/python2.7/dist-packages/seaborn
error: could not create '/usr/local/lib/python2.7/dist-packages/seaborn':
Permission denied
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tm/pip_build_moj0/seaborn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-LvVao5-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_mojo/seaborn
Storing debug log for failure in /home/mojo/.pip/pip.log
谁有 Seaborn github 网站上没有的解决方法提示?
【问题讨论】:
标签: python-2.7 pandas seaborn