Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

您好,请问该代码在windows10可以跑通吗? #100

Closed
ouyang25 opened this issue Oct 12, 2020 · 5 comments
Closed

您好,请问该代码在windows10可以跑通吗? #100

ouyang25 opened this issue Oct 12, 2020 · 5 comments

Comments

@ouyang25
Copy link

我报了如下错误:OSError:[WinError 126]找不到指定的模块。

@WenmuZhou
Copy link
Owner

具体一点

@ouyang25
Copy link
Author

具体一点

非常感谢您的回复
具体情况如下:
C:\Anaconda2\envs\py3\python.exe C:/Users/ouyangjiabin/Desktop/PytorchOCR/tools/det_train.py
Traceback (most recent call last):
File "C:/Users/ouyangjiabin/Desktop/PytorchOCR/tools/det_train.py", line 25, in
from torchocr.postprocess import build_post_process
File "C:\Users\ouyangjiabin\Desktop\PytorchOCR\torchocr\postprocess_init_.py", line 6, in
from .DBPostProcess import DBPostProcess
File "C:\Users\ouyangjiabin\Desktop\PytorchOCR\torchocr\postprocess\DBPostProcess.py", line 4, in
from shapely.geometry import Polygon
File "C:\Anaconda2\envs\py3\lib\site-packages\shapely\geometry_init_.py", line 4, in
from .base import CAP_STYLE, JOIN_STYLE
File "C:\Anaconda2\envs\py3\lib\site-packages\shapely\geometry\base.py", line 18, in
from shapely.coords import CoordinateSequence
File "C:\Anaconda2\envs\py3\lib\site-packages\shapely\coords.py", line 8, in
from shapely.geos import lgeos
File "C:\Anaconda2\envs\py3\lib\site-packages\shapely\geos.py", line 145, in
lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll'))
File "C:\Anaconda2\envs\py3\lib\ctypes_init
.py", line 366, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

Process finished with exit code 1
我在Windows10环境下,按照requirements安装了所需包,电脑也有gcc/g++和make环境,但是不知道为何报这个错误,希望得到您指点,谢谢!感激不尽!

@WenmuZhou
Copy link
Owner

感觉是shapely没有装对

@novioleo
Copy link
Collaborator

楼上正解

@ouyang25
Copy link
Author

谢谢,十分感谢,解决啦,就是这个安装不对。T_T

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants