dudeskybird.blogg.se

Docker for mac 10.9.5
Docker for mac 10.9.5











docker for mac 10.9.5

If the directory is there, you can try to relink postgres with the following command brew unlink postgresql & brew link postgresql If you already installed it through homebrew, but it is not in your path, you should check if the /usr/local/bin directory is present in your path and add it if missing If you have Postgres installed and the aforementioned command doesn’t return anything, you need to manually find the pg_config executable and put its containing directory in your PATH with: export PATH=/path/to/postgresql/bin/:$PATH You can check for pg_config presence using the command which -a pg_config If you install Postgres in other ways, you need to check that the executable pg_config in in your path. Installing any PostgreSQL version through one of them will enable you to build the module. OSX doesn’t include PostgreSQL anymore, so you need to install it in some way to build the binary part of psycopg2 module. Run manually command including the path of pg_config program in PATH env variable, in my case: export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin/Ĭheck directory of pg_config: which pg_config To install psycopg2 you need have installed server before( I have installed PostgresApp) More info about the binary package Solution no. I ran pip install psycopg2-binary and it worked like charm Or download the postgres app from, pg_config should come with postgres and psycopg2 is trying to find it.

docker for mac 10.9.5

#DOCKER FOR MAC 10.9.5 HOW TO#

You don’t seem to have postgres installed, check how to install postgresql in your system, one of the way isīrew install postgresql (if you use homebrew- recommended)

docker for mac 10.9.5

My error code is: How to solve this problem? Solution no. I found a lot of same questions on Stack Overflow but no answer seems to work. I’m trying to install Psycopg2 on my Mac-book.













Docker for mac 10.9.5