Error: No module named psycopg2.extensions

前端 未结 18 2024
感动是毒
感动是毒 2020-12-02 07:35

I am trying to set up a PostgreSQL database for my django project, which I believe I have done now thanks to the replies to my last question Problems setting up a postgreSQL

18条回答
  •  星月不相逢
    2020-12-02 07:54

    It seems that you need gcc-4.0, and it would be helpful to specify your OS type and version.

    Maybe this question will help you a bit: Installing GCC to Mac OS X Leopard without installing Xcode

    Update

    I'm a Windows user, so I can't test your setup, but a quick google pointed to some more links:

    • http://hardlifeofapo.com/psycopg2-and-postgresql-9-1-on-snow-leopard/
    • Cannot install psycopg2 on OSX 10.6.7 with XCode4

提交回复
热议问题