[issue40906] Unable to import module due to python unable to resolve dependecies

2021-10-21 Thread Zachary Ware
Change by Zachary Ware : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-b

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-11 Thread Saba Kauser
Saba Kauser added the comment: Thanks Steve! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-10 Thread Steve Dower
Steve Dower added the comment: add_dll_directory can be safely used within your library, so if you have any .py files that will be imported first (such as your package __init__.py), you can add it then. The safest way is to use something like: with os.add_dll_directory(THE_DIR): import t

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-10 Thread Saba Kauser
Saba Kauser 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') I

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-10 Thread Ned Deily
Change by Ned Deily : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Pytho

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-09 Thread Saba Kauser
Saba Kauser added the comment: Thanks a ton! That worked.. As I understand, users are required to add the directory path of the dll. Is there any way I can set this while building the extension with dependency? I basically want to hard-code the dependency path so that import module works fine

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-09 Thread Thomas Scheruebl
Thomas Scheruebl added the comment: >From what I can see this behavior is intended starting with Python 3.8 for >Windows and DLL loading for extension modules. You can use add_dll_directory to add directories to the DLL load path (see https://docs.python.org/3/library/os.html#os.add_dll_dire

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-07 Thread Saba Kauser
Change by Saba Kauser : Added file: https://bugs.python.org/file49222/python3.8_2.png ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-07 Thread Saba Kauser
Change by Saba Kauser : Added file: https://bugs.python.org/file49221/python3.7.png ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40906] Unable to import module due to python unable to resolve dependecies

2020-06-07 Thread Saba Kauser
New submission from Saba Kauser : Hi, I am building python ibm_db C extension for Python 3.8 support. while the binary is generated successfully and installed to site-packages, I am unable to load the same. The error I get is: Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1