ModuleNotFoundError:没有名为"pandas"的模块(jupyter笔记本)
问题描述:
我不明白如何将模块安装到Jupyter Notebook.我尝试导入不同的框架,但是即使系统中已安装所有组件,也无法导入任何内容.我正在使用点子.
I don't understand how to install modules to Jupyter Notebook. I tried importing different frameworks but nothing can be imported even though I have everything installed in my system. I'm using pip.
或者也许有一种方法可以将Jupyter指向某个虚拟环境?
Or maybe there's a way to point Jupyter to a certain virtualenv?
答
import sys
!{sys.executable} -m pip install pandas