ImportError: DLL load failed while importing _gdal: 找不到指定的程序。
时间: 2023-08-18 11:06:36 浏览: 199
ImportError: DLL load failed: 找不到指定的模块。
5星 · 资源好评率100%
引用\[1\]中的错误信息表明在导入_osgeo模块时出现了DLL加载失败的错误,提示找不到指定的程序。引用\[2\]提供了解决ImportError问题的方法,即将缺失的dll文件所在的文件夹路径添加到环境变量中。这样做可以解决导入_osgeo模块时找不到指定程序的问题。引用\[3\]中也提到了类似的错误信息,解决思路也是相同的。因此,你可以尝试将缺失的dll文件所在的路径添加到环境变量中,这样应该可以解决ImportError: DLL load failed while importing _gdal: 找不到指定的程序的问题。
#### 引用[.reference_title]
- *1* [python DLL load failed while importing _gdal](https://blog.csdn.net/weixin_46334512/article/details/130069439)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [osgeo: ImportError: DLL load failed while importing _gdal](https://blog.csdn.net/ptxyzs/article/details/130155816)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [import rasterio报错:ImportError: DLL load failed while importing _base: 找不到指定的模块。](https://blog.csdn.net/weixin_44392655/article/details/127483769)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文