Skip to content Skip to sidebar Skip to footer

Python Imports Wrong Version Of Sqlite When Running Tests

I'm trying to set up a Windows slave for our Jenkins server, but some of the unit tests are failing due to a sqlite error. We're using conda and have built a custom version of sqli

Solution 1:

By looking for a solution in sys.path you are looking at the wrong place. You need to see what os.environ['PATH'] is at the critical points here since it's the Windows Loader that has picked the 'wrong' DLL, where by wrong I mean the first one it found according to its well documented DLL lookup procedure.


Post a Comment for "Python Imports Wrong Version Of Sqlite When Running Tests"