This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients eryksun, nf00038, xtreak
Date 2019-12-22.20:23:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577046221.79.0.673394240717.issue39120@roundup.psfhosted.org>
In-reply-to
Content
This may be due to changes regarding DLL dependency resolution in 3.8. If so, you can find the missing DLL using Process Monitor, configured to monitor file access in python.exe and pythonw.exe. Add the DLL's directory to the search path via os.add_dll_directory [1] before importing from pyodbc. 

The developers of pyodbc should be directed to the porting notes for the DLL search requirements in 3.8 [2]. The interpreter and ctypes no longer support the old DLL search path that includes the working directory and PATH [3].

[1] https://docs.python.org/3/library/os.html#os.add_dll_directory
[2] bpo-36085-whatsnew">https://docs.python.org/3/whatsnew/3.8.html#bpo-36085-whatsnew
[3] https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order
History
Date User Action Args
2019-12-22 20:23:41eryksunsetrecipients: + eryksun, xtreak, nf00038
2019-12-22 20:23:41eryksunsetmessageid: <1577046221.79.0.673394240717.issue39120@roundup.psfhosted.org>
2019-12-22 20:23:41eryksunlinkissue39120 messages
2019-12-22 20:23:41eryksuncreate