当前位置:   article > 正文

OSError: [WinError 126] 找不到指定的模块_shm.dll

shm.dll

一、问题

在这里插入图片描述
**报错:**找不到指定模块。通常是程序要加载某个DLL文件,但是这个DLL文件不存在就报错了。

二、思路

什么是DLL文件:
在这里插入图片描述
因此程序在运行的时候找不到这个文件:
在这里插入图片描述
通过如下代码查看文件路径:

os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll')
  • 1

然后下载对应dll文件放到上面这个路径。一般是:。。。\Anaconda\env\你的虚拟环境\Library\bin\

到此就解决问题了!!!
博主亲测可用!!

参考:

https://blog.csdn.net/qq_40243750/article/details/120123119


以下是下载DLL文件的官方文档:
This file was provided by: https://www.dll-files.com/

If you downloaded it from somewhere else, please let us know: info@dll-files.com

DLL-Files.com is owned and operated by Tilf AB, Sweden. The collection of DLL files as a whole (falls under the “collection copyright” laws) are © Copyright Tilf AB

The individual DLL files are provided free of charge with the understanding that the user is familiar with their use.

If you need help installing the file, please see:
https://www.dll-files.com/support/
or ask your question in the forum:
https://forum.dll-files.com/

DISCLAIMER AND LIMITATION OF LIABILITY

The Following Refers to all Files with the Extension of “dll” or dlls compressed as “zip”.

All files are provided on an as is basis. No guarantees or warranties are given or implied. Downloading files from this site is free of charge and the user assumes all risks of any damages that may occur, including but not limited to loss of data, damages to hardware, or loss of business profits. We do our best to ensure that all files are virus-free using available means. However, all files have not been tested for functionality or contamination. Many have been sent to us by visitors like yourself. Thus, we suggest that you do a virus scan using an up-to-date version of an anti-virus program before use. Please use at your own risk.

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号