Cannot install psycopg2 on OSX 10.6.7 with XCode4

前端 未结 2 1093
没有蜡笔的小新
没有蜡笔的小新 2020-12-05 07:57

Trying to install psycopg2 on OSX results in the following:

building \'psycopg2._psycopg\' extension

creating build/temp.macosx-10.6-universal-2.6

creating         


        
2条回答
  •  醉话见心
    2020-12-05 08:15

    It seems that there was something wrong with the ARCHFLAGS actually sticking, so finally using:

    sudo env ARCHFLAGS="-arch i386 -arch x86_64" pip install psycopg2

    actually worked.

提交回复
热议问题