-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simple buildbot_1 fails with ImportError: No module named psycopg2 #9
Comments
Hi @akuanti, I tried to reproduce this issue but it worked as expected for me. $ cd simple/
$ docker-compose up -d
$ docker-compose ps
Name Command State Ports
-----------------------------------------------------------------------------------
simple_buildbot_1 dumb-init /usr/src/buildbo ... Up 0.0.0.0:8010->8010/tcp
simple_db_1 docker-entrypoint.sh postgres Up 5432/tcp
simple_worker_1 /usr/local/bin/dumb-init t ... Up
$ open http://localhost:8010 How did you run docker-compose to get your container names not begin with |
@cristobal23 the containers are up, but the process running in the |
I realize now that you said you were able to open the page, so it seems you aren't getting the same results. I am on macOS, if that makes a difference. |
Interesting, I am macOS too. Perhaps try, cd simple/
docker-compose stop
docker-compose rm
rm -r downloads/ then pull changes from master and try again? I just did the above and it still worked for me. |
Is there supposed to be a |
I don't think so, I just saw that in my git status. |
When running
docker-compose up
with the simple example, I get the following over and over:I tried installing
psycopg2
manually, but it fails because it can't find thepg_config
executable.When I try to install
psycopg2-binary
, it still tries to build from source (I'm guessing because none of the wheels are compatible?).I believe that
libpq-dev
needs to be installed: http://initd.org/psycopg/docs/install.html#build-prerequisites for this installation to work properly.The text was updated successfully, but these errors were encountered: