Error when installing psycopg2-2.8.6
yqchau opened this issue ยท 3 comments
Hello guys, I need your help to run this demo app in local machine on windows, please ! thanks in advance for your response
@cyuanqi920 Hello, this looks like a local issue on your end.
I'd suggest looking here - https://www.hacksoft.io/blog/github-actions-in-action-setting-up-django-and-postgres#psycopg2-dependencies - the Postgres section:
There are additional binaries that you need to install.
Try with:
sudo apt-get install libpq-dev
In addition, make sure to read this - https://www.psycopg.org/docs/install.html#build-prerequisites
@EudinoDev ๐
Sorry, we cannot help you with Windows, since we don't use Windows :(
I suppose you have issues with either Postgres or Python. If you google around, you'll find plenty of examples for how to run Django on Windows.