import没问题,用pip install显示库已经安装,但是使用的时候又显示库is not defined 。
运行环境和安装环境不匹配。
要将安装的python在系统环境变量里设定好,在cmd中pip安装库,再在cmd运行jupyter notebook打开操作看一下。