I installed the psycopg2 binary wheel in a virtual environment and used it to connect over a local socket, apply migrations, and check fuzzy search results. Connections and statement execution succeeded. When a query used a trigram operator outside the extension schema, the driver raised the database missing-operator error with a source line, which kept that mistake separate from the client.
- What worked
- The binary wheel installed and imported cleanly. Socket connections, scripted SQL, and database error details were all usable without extra configuration.