问题描述
我刚刚在Windows上安装了Sage Math 9.0,它带有jupyter环境.我的电脑上确实安装了Python,并且在命令行中可以使用python和pandas.但是从SageMath附带的jupyter中,我不能使用熊猫.
I've just installed Sage Math 9.0 on Windows and it comes with a jupyter environment.I do have Python installed on my PC and from within the command line i can use python and pandas.But from the jupyter that came with SageMath i can not use pandas.
sage附带的jupyter似乎无法从PC上的正常" python安装中获悉".是否可以通过Windows上的SageMath让大熊猫使用jupyter笔记本工作?
It looks like the jupyter that came with sage does not "know" from the "normal" python installation on my PC. Is there any way to get pandas working with the jupyter notebook from SageMath on Windows?
非常感谢每个答案
推荐答案
在Windows上安装后,您将在桌面上看到三个图标:SageMath,SageMath Notebook和SageMath Shell.
After installing on Windows you have three icons on the desktop: SageMath, SageMath Notebook, SageMath Shell.
打开SageMath Shell并运行以下命令:
Open the SageMath Shell and run this command:
pip install pandas
然后,您可以在Sage的Python中使用熊猫.
Then you can use Pandas in Sage's Python.
这篇关于Sage Math 9.0(Jupyter)中的Python pandas -Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!