小编use*_*230的帖子

熊猫Seaborn安装

在运行Python 2.7的Ubuntu 12.04 LTS上,我试图将看起来很棒的Seaborn绘图包添加到我现有的运行良好的Pandas环境中,从而出现安装错误.

这是控制台中包含错误的片段:

~$ 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
Run Code Online (Sandbox Code Playgroud)
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
Run Code Online (Sandbox Code Playgroud)

任何人都有Seaborn github网站上没有的解决方案提示?

python-2.7 pandas seaborn

9
推荐指数
2
解决办法
3万
查看次数

标签 统计

pandas ×1

python-2.7 ×1

seaborn ×1