Check if there is another sqlite3.dll in your path. When I tried it, I got the same error. It turns out there is a (32-bit?) sqlite3.dll in my python directory in the %PATH%. Copy the 64-bit dll to the same directory as your executable and run it again.