Closed rodriguez03 closed 10 months ago
Here are the ways I've tried to install pysqlite3 on MacOS but failed. Maybe they will work for you. The aim of this issue is to provide a comprehensive guide for troubleshooting 'pysqlite3' installation issues on macOS.
1. Guidance from Discord (Claire's Instruction) @churd01
Attempted to follow installation instructions provided by Claire in Developer Development community, details of which can be viewed here: https://discord.com/channels/1145161007459745852/1146079356402278521/1146576453161467904
Outcome: when I run this command, the Error indicates 'Permission Denied
ln -s /usr/local/opt/sqlite/bin/sqlite3 /usr/local/bin/
2. Pip Install Attempt
Command: pip install pysqlite3
Outcome: Error message as follows
ERROR: Failed building wheel for pysqlite3 Running setup.py clean for pysqlite3 Failed to build pysqlite3 ERROR: Could not build wheels for pysqlite3, which is required to install pyproject.toml-based projects
Actions Taken:
pip install --upgrade
3. Virtual Environment Setup
Command: Created a Python venv using python -m venv myenv
and activated using ource myenv/bin/activate
Outcome: Within the virtual environment, repeated the attempt to pip install pysqlite3
, resulting the same error.
At the moment, I'm trying to remove pysqlite3 package from dependencies and make sure that Chasten is installed and run correctly. You can check out the issue here: https://github.com/AstuteSource/chasten/issues/46
Suggestions @rodriguez03 suggested overriding pysqlite3 in the Developer Development Discord group. You can read more details about her suggestion here: https://discord.com/channels/1145161007459745852/1145801720811765800/1149054131126943895
Briefly, here are some points to consider in regards to this issue:
pip
, at least when we are developing the tool ourselves. This means that, as developers, we should stick to using poetry
.pipx
or pip
What is the status of this issue @Jaclynpqc and @rodriguez03?
Is this resolved with the recent merging of pysqlite3-removal-test-branch?
Most of our colleagues with Mac OS have gotten chasten to work
We could write in the issues that here are several ways to install chasten. Anyone is welcome to contribute more ways
or another error looks like: