首页 > 解决方案 > Sage Math 9.0 (Jupyter) 中的 Python Pandas - Windows

问题描述

我刚刚在 Windows 上安装了 Sage Math 9.0,它带有一个 jupyter 环境。我的 PC 上确实安装了 Python,并且在命令行中我可以使用 python 和 pandas。但是从 SageMath 附带的 jupyter 中,我不能使用 pandas。

看起来 sage 附带的 jupyter 并没有从我 PC 上的“正常”python 安装中“知道”。有什么方法可以让 pandas 在 Windows 上使用 SageMath 的 jupyter notebook 工作?

非常感谢每一个答案

标签: pythonpandaswindowsjupytersage

解决方案


在 Windows 上安装后,桌面上有三个图标:SageMath、SageMath Notebook、SageMath Shell。

打开 SageMath Shell 并运行以下命令:

pip install pandas

然后你可以在 Sage 的 Python 中使用 Pandas。


推荐阅读