The issue is that psycopg2 requires the pg_config executable to build and install its necessary dependencies, but it cannot find it within the virtualenv environment.
Copyright QStack.ai, 2010-2023. Content on this site is licensed under the Creative Commons Attribution Share Alike 3.0 license.