简体   繁体   English

Seaborn 未安装在 jupyter 笔记本中

[英]Seaborn not installing in jupyter notebook

I was trying to import seaborn in Jupyter notebook on a Mac.我试图在 Mac 上的 Jupyter 笔记本中导入 seaborn。 This used to work fine, but for some reason, it keeps giving me this error now这曾经工作正常,但由于某种原因,它现在一直给我这个错误

I have tried to reinstall seaborn and pandas.我试图重新安装 seaborn 和 pandas。 I also restarted my notebook, but that didn't work.我也重新启动了我的笔记本,但没有奏效。 Is there a way to fix this?有没有办法来解决这个问题?

Are you sure you are using a correct kernel on Jupyter?你确定你在 Jupyter 上使用了正确的 kernel 吗? Do you install the packages on the terminal or inside the notebook?您是在终端上还是在笔记本电脑内安装软件包? Run print(help(modules) to see if you have all packages that you were supposed to have.运行print(help(modules)以查看您是否拥有应该拥有的所有软件包。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM