[New-bugs-announce] [issue32738] CDLL : Can't fine module

twinkim2 report at bugs.python.org
Wed Jan 31 20:58:06 EST 2018

New submission from twinkim2 <twinkim2 at hanmail.net>:

I just try to import ./so created by c language.
However , if some c function library is added in c souce code such as "fopen" and "sscanf" related with stdio , runtime error is happend like as below.
Traceback (most recent call last):  File "D:\python_test\c_library_test.py", line 8, in <module>
    adder = CDLL('./_adder.so')
  File "C:\Users\admin\AppData\Local\Programs\Python\Python36\lib\ctypes\__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] can't fine Module.
Please give your guide to fix this issue.

components: ctypes
messages: 311398
nosy: twinkim2
priority: normal
severity: normal
status: open
title: CDLL : Can't fine module
type: behavior
versions: Python 3.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list