Skip to content

Commit

Permalink
Fixed Documentation issue #390: added explanation of the error and PY…
Browse files Browse the repository at this point in the history
…THON_CONFIGURE_OPTS: a little bit verbose, but maybe will save someone time and possibly add contributors to the project (#392)
  • Loading branch information
thepapermen authored Oct 12, 2023
1 parent 2a00e18 commit 25e3ca2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ poetry install
poetry run pytest
```

This will install all the dependencies (including dev ones) and run the tests.
This will install all the dependencies (including the dev ones) and run the tests.

If the tests fail with `SpatiaLite requires SQLite to be configured to allow extension loading` error,
it means that your python interpreter is not built with `--enable-loadable-sqlite-extensions` flag.
For example, if you are using pyenv, it can be fixed like this:

`PYTHON_CONFIGURE_OPTS="--enable-loadable-sqlite-extensions" pyenv install 3.12.0`

### Pre commit

Expand Down

0 comments on commit 25e3ca2

Please sign in to comment.