解决Pycharm下载torch报错:OSError: [WinError 126] 找不到指定的模块。

错误全称:OSError: [WinError 126] 找不到指定的模块。 Error loading "D:\Program Files\Python\Python311\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.

解决:在路径"D:\Program Files\Python\Python311\Lib\site-packages\torch\lib"中加入下列网址下载的libomp140.x86_64.dll。(或者直接下载资源)

https://www.dllme.com/dll/files/libomp140_x86_64/00637fe34a6043031c9ae4c6cf0a891d/download

Reference

解决OSError: [WinError 126] 找不到指定的模块。 Error loading "D:\Anaconda3\Lib\site-packages\torch\lib\fbgemm_oserror: [winerror 126] 找不到指定的模块。 error loading "f-CSDN博客

相关推荐
一个小白114 分钟前
C++——list模拟实现
开发语言·c++
bug总结15 分钟前
新学一个JavaScript 的 classList API
开发语言·javascript·ecmascript
Nicole Potter22 分钟前
请说明C#中的List是如何扩容的?
开发语言·面试·c#
liuyuzhongcc23 分钟前
List 接口中的 sort 和 forEach 方法
java·数据结构·python·list
鸟哥大大32 分钟前
【Python】pypinyin-汉字拼音转换工具
python·自然语言处理
jiugie40 分钟前
MongoDB学习
数据库·python·mongodb
十八朵郁金香1 小时前
通俗易懂的DOM1级标准介绍
开发语言·前端·javascript
阿尔法波1 小时前
python与pycharm如何设置文件夹为源代码根目录
开发语言·python·pycharm
xing25161 小时前
pytest下allure
开发语言·python·pytest
眸笑丶1 小时前
使用 Python 调用 Ollama API 并调用 deepseek-r1:8b 模型
开发语言·python