[issue40906] Unable to import module due to python unable to resolve dependecies
Saba Kauser
report at bugs.python.org
Wed Jun 10 06:43:51 EDT 2020
Saba Kauser <skauseribmdb at gmail.com> added the comment:
Hello Steve,
You have added changes to load windows dependent DLLs for python C extension modules. After building the source, I can import the module only after I set dll path as:
os.add_dll_directory('C:\\Program Files\\IBM\\IBM DATA SERVER DRIVER_01\\bin')
Is there a backward compatibility or any other way I can hardcode the dependency resolution path while building the extension itself.
I have read through the discussion in https://bugs.python.org/issue36085 but I don't seem to understand if there is a real way for users to import the module without any additional step like os.add_dll_directory() from python.
Thanks!
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40906>
_______________________________________
More information about the Python-bugs-list
mailing list