http://www.taodudu.cc/news/show-3353328.html?action=onClick
参考上述博客得以解决
在跟着某站视频学习在anaconda下 pytorch虚拟环境下使用Jupyter notebook验证torch时
import torch
以及
torch.cuda.is_available()
无运行结果 命令窗口里报错bad file description
Bad file descriptor (D:\bld\zeromq_1629967000004\work\src\epoll.cpp:100)
Bad file descriptor (D:\bld\zeromq_1629967000004\work\src\epoll.cpp:100)
搜寻网上结果发现是
安装jupyter notebook的时候,自动安装了ipykernel, 然后自动安装了高版本的pyzmq
pip uninstall pyzmqpip install pyzmq==19.0.2