jupyter notebook内核启动报错:ImportError: DLL load failed while importing _device

1.报错信息

File "D:\Programs\Programming\Anaconda3\envs\pytorch_mis\lib\site-packages\zmq\backend\cython_init _.py", line 6, in

from . import (

ImportError: DLL load failed while importing _device: 找不到指定的模块。

2.解决方案

pyzmq版本冲突,下载满足jupyter server版本的pyzmq

安装低版本的pyzmq

复制代码
pip install pyzmq==23.0.0

提示jupyter-server 2.7.3需要pyzmp>=24,因此重新安装pyzmq,刚好满足条件即可

复制代码
pip install pyzmq==24.0.0

安装后启动jupyter notebook,完美解决。

参考资料

1\] [jupyter notebook添加虚拟环境,以及切换内核时出现ImportError: DLL load failed while importing _device: 找不到指定的模块。](https://blog.csdn.net/qq_36819624/article/details/129090242)

相关推荐
I'm a winner21 分钟前
第五章:Python 数据结构:列表、元组与字典(一)
开发语言·数据结构·python
番薯大佬39 分钟前
Python学习-day9 字典Dictionary
网络·python·学习
nightunderblackcat44 分钟前
新手向:C语言、Java、Python 的选择与未来指南
java·c语言·python
夏日麋鹿~1 小时前
逐时nc数据批量处理为日平均
python
程序员三明治1 小时前
Python编辑器的安装及配置(Pycharm、Jupyter的安装)从0带你配置,小土堆视频
python·pycharm·编辑器
理想国的女研究僧1 小时前
Jupyter Notebook操作指南(1)
ide·python·学习·jupyter
酷飞飞2 小时前
PyQt 界面布局与交互组件使用指南
python·qt·交互·pyqt
GilgameshJSS2 小时前
【学习K230-例程19】GT6700-TCP-Client
网络·python·网络协议·学习·tcp/ip
yuanpan2 小时前
python标准库有哪些模块,简单总结下。
开发语言·python
程序员杰哥2 小时前
什么是Jmeter? Jmeter工作原理是什么?
自动化测试·软件测试·python·测试工具·jmeter·职场和发展·测试用例