【问题标题】:i have done "!pip install pandas" but Jupyter still dont find it我已经完成了“!pip install pandas”但 Jupyter 仍然找不到它
【发布时间】:2019-09-16 03:45:50
【问题描述】:

我首先使用 jupyter 笔记本。 我试着跑了

import pandas as pd

但它会返回

No module called pandas

我试过了

!pip install pandas

成功运行 jupyter 显示安装过程

但是pandas安装后还是返回

No module called pandas

当我跑步时

import pandas as pd

为什么?以及如何解决它

【问题讨论】:

  • 安装 Pandas 后是否重启了 Jupyter?
  • 显示你的pip --version和你的python --version

标签: python pandas jupyter


【解决方案1】:

您可能安装了多个 python。见说明here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-11-28
    • 1970-01-01
    • 1970-01-01
    • 2011-06-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-15
    相关资源
    最近更新 更多