Note: you may need to restart the kernel to use updated packages. 这个问题其实就是需要你把所需要的库升级一下子,更新到最新版本,旧版本与代码用到的库版本冲突,升级一下就OK。 pip install --upgrade 库名