我正在尝试在EC2 AWS ipython笔记本上将seaborn作为sns导入。
但是我收到以下错误。请帮忙
import seaborn as sns
导入错误回溯(最近一次调用( 在 (( 中----> 1 进口海生作为SNS
导入错误:没有名为 seaborn 的模块
您可能首先要下载seaborn软件包。默认情况下,它在 python 安装中不可用。
使用点下载:
pip install seaborn
此外,您可以尝试安装蟒蛇
$ curl -O https://repo.continuum.io/archive/Anaconda3-4.3.1-Linux-x86_64.sh
$ chmod 777 Anaconda3-4.3.1-Linux-x86_64.sh
$ ./Anaconda3-4.3.1-Linux-x86_64.sh
... (Press enter/yes where ever required )
$ conda install seaborn