---
title: "Troubleshooting"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.evidential.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

## How do I hide the generated SQL from the logs or console output? {#how-do-i-hide-the-generated-sql-from-the-logs-or-console-output}

See the environment variables in [Taskfile.yml](https://github.com/agency-fund/evidential-be/blob/main/Taskfile.yml) and customlogging.py for documentation on how to
control logging.

## psycopg2 module does not install correctly. {#psycopg2-module-does-not-install-correctly}

You might see this error:

> Error: pg_config executable not found.
>
> pg_config is required to build psycopg2 from source.

The fix will depend on your operating system.

### Linux

1. Run: `sudo apt install -y libpq-dev python3-dev build-essential` and then re-install dependencies.
1. See [https://www.psycopg.org/docs/install.html](https://www.psycopg.org/docs/install.html).
1. See [https://www.psycopg.org/docs/faq.html](https://www.psycopg.org/docs/faq.html).

### OSX {#osx}

Run `brew install postgresql@18`.

Source: https://docs.evidential.dev/develop/guides/troubleshooting/index.mdx
