15

OSError: [WinError 126] 找不到指定的模块。

 3 years ago
source link: https://blog.csdn.net/anglemanyi/article/details/111937051
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

OSError: [WinError 126] 找不到指定的模块。

1.问题描述

在windows环境中,运行paddlepaddle程序报错:OSError: [WinError 126] 找不到指定的模块,如下图所示。

2.解决办法

 windows环境下,建议离线下载whl文件,完成shapely的安装, 直接通过pip安装的shapely库可能出现[winRrror 126] 找不到指定模块的问题

(1)下载地址https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely

根据自己的版本进行选择

(2)卸载原来的shapely

pip uninstall shapely

(3)离线安装

pip install Shapely-1.7.1-cp36-cp36m-win_amd64.whl

再运行程序就没有问题了!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK