原文:OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized问题解决

jupyter notebokk报错情况出现背景:手动下载pytoch的whl安装文件,使用pip install pytorch.whl命令安装pytorch。 出现的原因是因为有两个重复的文件libiomp md.dll在python环境中。 解决办法: 第一种:搜索anaconda安装文件夹,把另外一个不在torch库下的文件备份删除。 第二种:在代码中添加下面两行代码 错误官方提示: OM ...

2021-07-29 20:41 3 924 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM