Closed veritas06 closed 1 year ago
@veritas06 I ran into the same issue, worked around it by following this: https://github.com/rigglemania/pysqlcipher3/issues/19#issuecomment-1079158635
I managed to install the package by doing exactly this:
SQLCIPHER_PATH="/opt/homebrew/Cellar/sqlcipher/4.5.3"
export LIBRARY_PATH="$SQLCIPHER_PATH/lib"
export C_INCLUDE_PATH="$SQLCIPHER_PATH/include"
pip3 install -r requirements.txt --user
You need to verify/tweak SQLCIPHER_PATH
, refer to above linked instructions.
Thanks Jonas. I forget how I did end up getting a backup working, but I will make note & give this a try too.
Thank you!
Sorry for the late response, glad to read you both managed to sort it out. This package randomly gives headaches, it's important to get the arch right. But for me it randomly completely broke in bash as well and then would suddenly work in zsh. It's temperamental. But oh well. :) I'll check if the solution provided by @jonasjberg can be implemented in the setup. Also will add a dirty-written bash script to generate new backups once the environment is settled in, will make things easier.
I followed your guide on my M1 device, but am still having issues with the pysqlcipher3 package.