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

加载包错误 #32

Open
codefavor2018 opened this issue Sep 27, 2021 · 1 comment
Open

加载包错误 #32

codefavor2018 opened this issue Sep 27, 2021 · 1 comment

Comments

@codefavor2018
Copy link

File "D:/Users/PycharmProjects/data_analysis/ocr_detection/image_detection.py", line 10, in
from cnstd import CnStd
File "D:\Anaconda3\envs\python36\lib\site-packages\cnstd_init_.py", line 20, in
from .cn_std import CnStd
File "D:\Anaconda3\envs\python36\lib\site-packages\cnstd\cn_std.py", line 32, in
from .model import gen_model
File "D:\Anaconda3\envs\python36\lib\site-packages\cnstd\model_init_.py", line 22, in
from .dbnet import gen_dbnet, DBNet
File "D:\Anaconda3\envs\python36\lib\site-packages\cnstd\model\dbnet.py", line 31, in
from .base import DBPostProcessor, DBNet
File "D:\Anaconda3\envs\python36\lib\site-packages\cnstd\model\base.py", line 23, in
from shapely.geometry import Polygon
File "D:\Anaconda3\envs\python36\lib\site-packages\shapely\geometry_init
.py", line 4, in
from .base import CAP_STYLE, JOIN_STYLE
File "D:\Anaconda3\envs\python36\lib\site-packages\shapely\geometry\base.py", line 19, in
from shapely.coords import CoordinateSequence
File "D:\Anaconda3\envs\python36\lib\site-packages\shapely\coords.py", line 8, in
from shapely.geos import lgeos
File "D:\Anaconda3\envs\python36\lib\site-packages\shapely\geos.py", line 154, in
lgeos = CDLL(os.path.join(sys.prefix, 'Library', 'bin', 'geos_c.dll'))
File "D:\Anaconda3\envs\python36\lib\ctypes_init
.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

貌似安装包缺少 LoadLibrary,FreeLibrary

@breezedeus
Copy link
Owner

网上搜一下,看着是 shapely 的问题,不是python包的问题,可能需要另外装些系统包。

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

2 participants