Tuesday, November 1, 2022

Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

Hi, 

I believe the the binary package is suitable for development and I plan integrating docker in my company's upcoming project, so I needed a package best for production.

Thanks kasper 

On Mon, 31 Oct 2022, 19:51 'Kasper Laudrup' via Django users, <django-users@googlegroups.com> wrote:
On 31/10/2022 19.32, Adeyemi Deji wrote:
>
> Hello, fam!
>
> Found a solution to the problem. Updated the Dockerfile. Check below
>

Great to hear you figured it out and thanks for sharing. Out of
curiosity, any reason why you chose to build the psycopg2 package from
source instead of using a prebuilt binary?

I would assume using the prebuilt binary would have been simpler and of
course make it much faster to build your container than building your
own package from source.

Thanks and kind regards,
Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fa5906c5-929f-a2b8-91e2-72d8b0fb8194%40stacktrace.dk.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEO1GrqUD-TWOKre3DjLmeZMP%2BZxxP%3DK%2B9%3DdBBjrPi9PmQt5Ow%40mail.gmail.com.

No comments:

Post a Comment