jupyter执行显示error解决办法

在使用jupyter的时候发现运行没有成功,且显示error的,并且终端提示并且自动退出了!!

Bad file descriptor (C:\user\lihaian\work\src\epoll.cpp:100)

解决办法:

1.打开终端执行以下命令:

pip uninstall pyzmq

2.完成之后再执行一下命令:

pip install pyzmq==19.0.2  

3.如果未安装成功, 显示consider using the ---user option or check the permissions.

这是拒绝访问,说明没权限,加一个--user

pip install pyzmq==19.0.2  --user

 4.显示Successfully installed pyzmq-19.0.2 就是安装成功了。(报红是正常的)

5.然后启动jupyter就可以运行了。

jupyter执行显示error解决办法_第1张图片

 

anaconda安装完,安装jupyterlab 或者jupyter notebook,会自动安装ipykernel, 然后自动安装了高版本的pyzmq 22.0.2

你可能感兴趣的:(报错请别慌,jupyter,python)