# SQLCipher with pyinstaller

**URL:** <https://discuss.zetetic.net/t/sqlcipher-with-pyinstaller/6218>\
**Category:** SQLCipher\
**Created:** [January 26, 2024, 11:59pm UTC](https://discuss.zetetic.net/t/sqlcipher-with-pyinstaller/6218 "2024-01-26T23:59:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvelez](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@dvelez](https://discuss.zetetic.net/u/dvelez)\
**Post date:** [January 26, 2024, 11:59pm UTC](https://discuss.zetetic.net/t/sqlcipher-with-pyinstaller/6218/1 "2024-01-26T23:59:42Z")

</div>

I am using SQLCipher in python with the pysqlcipher3 package, instead of having it as a package i have the source as a module in my code, this works fine in my machine if i bundle the application with pyinstaller, but when i test the executable on other machines i get this error: DLL load failed while importing \_sqlite3, when i builded the pysqlcipher3 pyd i builded it against amalgamation instead of building it against system sqlcipher, so it seems to be an issue with the pyd rather than an issue with the sqlite3.dll, but i havent been able to solve it
