Open SokolskyNikita opened 1 month ago
Ended up bypassing the problem by installing a prebuilt binary from https://pypi.org/project/sqlcipher3-wheels/#files
Haven't tested yet with Python 3.13, presumably sqlcipher3-wheels maintainer needs to make some small changes.
Be great if you can open an issue over at that repo!
I'm also running into this :cry:
Ended up bypassing the problem by installing a prebuilt binary from https://pypi.org/project/sqlcipher3-wheels/#files
Can you please post how you worked around the issue? (Which binary to download? Where to put it?)
sqlcipher3_wheels-0.5.2.post1-cp312-cp312-macosx_11_0_arm64.whl
pip install sqlcipher3_wheels-0.5.2.post1-cp312-cp312-macosx_11_0_arm64.whl
to install itpip install signal-export
, which should now succeedIn my case pip
is aliased to python3 -m pip
to ensure I'm using python3 to install my packages.
(Reopening for visibility, until sqlcipher is fixed in pip install
)
3. Run
pip install sqlcipher3_wheels-0.5.2.post1-cp312-cp312-macosx_11_0_arm64.whl
to install it
I have a MacBook Air M1, so I think I should use the same file, but I get this:
➜ pip3 install sqlcipher3_wheels-0.5.2.post1-cp312-cp312-macosx_11_0_arm64.whl
ERROR: sqlcipher3_wheels-0.5.2.post1-cp312-cp312-macosx_11_0_arm64.whl is not a supported wheel on this platform.
I tried the other two macOS related files, but all three give the same error.
I can install it if I rename sqlcipher3_wheels-0.5.2.post1-cp312-cp312-macosx_11_0_arm64.wh
into sqlcipher3_wheels-0.5.2.post1-cp313-cp313-macosx_12_0_arm64.wh
(my Python version is 3.13.0 and I use macOS Sequoia 15.0.1), but then it fails at runtime with this error:
ModuleNotFoundError: No module named 'sqlcipher3._sqlite3'
What am I doing wrong?
I can install it if I rename sqlcipher3_wheels-0.5.2.post1-cp312-cp312-macosx_11_0_arm64.wh into sqlcipher3_wheels-0.5.2.post1-cp313-cp313-macosx_12_0_arm64.wh
You can't just rename it, you have to actually downgrade to Python 3.12.
brew install python@3.12
brew unlink python@3.13 && brew link python@3.12
alias python3='/opt/homebrew/bin/python3.12
pip install
for the downloaded binary, then install signal-export (see my previous comment)I was afraid of that... Thank you for this additional information!
Desktop (please complete the following information):
Describe the bug Installation of
signal-export
fails during the wheel build process for thesqlcipher3-wheels
dependency. The error occurs during the compilation of C code, raising multiple deprecated function warnings and several undeclared function errors. This results in a failed attempt to build an installable wheel forsqlcipher3-wheels
.To reproduce Steps to reproduce the behavior:
python3 -m pip install signal-export
on macOS 14 (arm64) with Python 3.13.sqlcipher3-wheels
, throwing errors.Relevant log lines: