New submission from Saba Kauser <skauserib...@gmail.com>:

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.1916 64 bit 
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import ibm_db
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: DLL load failed while importing ibm_db: The specified module could 
not be found.
>>> quit()

I have correctly set PATH and LIB to point to python installation. I have also 
updated LIB to point to correct runtime dependencies. 
Seeing through procmon, python is unable to resolve the runtime lib dependency 
path from PATH. The same steps work just fine for python 3.7 and other 
versions. This problem is only seen on windows. Linux and MAC works fine.

I am attaching the process monitor snippets for python 3.8(failing case) as 
well as python (3.7) success case.

Can you kindly look into it and share insights on what could lead to this 
problem and any possible resolution/s that are currently available. I tried 
with python 3.8.2 as same problem there as well.

Attached are the procmon logs for python 3.7(success case) and python 
3.8(failing case).

python 3.7 : python3.7.log
python 3.8 : python3.8_1.log , python3.8_2.log

----------
components: Installation
files: python3.8_1.png
messages: 370964
nosy: sabakauser
priority: normal
severity: normal
status: open
title: Unable to import module due to python unable to resolve dependecies
type: behavior
versions: Python 3.8
Added file: https://bugs.python.org/file49220/python3.8_1.png

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40906>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to