info failed with error code 1坎坷路

机器:os x

本地想跑一下一个开源django博客应用,下了源码到里头pip install -rrequirements.txt

结果屡次出错,Command "python setup.py egg_info" failed with error code 1

试了多次一直于最后一行这个错误。

我开始以为权限问题,,setuptools问题

后来有转机了,我把requirements.txt里头一个个安装,最后原是psycopg2这个安装有问题

pip我错怪你了,不过把官方源换豆瓣的后,下载速度杠杠的,从此我就抛弃pypi源了呦。

回到问题,psycopg2是postgresql的python接口,出错原因很简单,那就是我要先装好postgresql这个数据库。

sudo brew install postgresqlPassword:==> Installing dependencies for postgresql: makedepend, openssl, readline==> Installing postgresql dependency: makedepend==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/makedepend-1.0.5.yosemite.bottle.tar.gz######################################################################## 100.0%==> Pouring makedepend-1.0.5.yosemite.bottle.tar.gz

warning, but success

pip install psycopg2==2.5.4Collecting psycopg2==2.5.4 This repository located at pypi.douban.com is not a trusted host, if this repository is available via HTTPS it is recommend to use HTTPS instead, otherwise you may silence this warning with '–trusted-host pypi.douban.com'. DEPRECATION: Implicitly allowing locations which are not hosted at a secure origin is deprecated and will require the use of –trusted-host in the future. Downloading (682kB)100% |################################| 684kB 1.1MB/s Installing collected packages: psycopg2 Running setup.py install for psycopg2building 'psycopg2._psycopg' extensioncc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.10-intel-2.7/psycopg/psycopgmodule.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/green.c -o build/temp.macosx-10.10-intel-2.7/psycopg/green.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/pqpath.c -o build/temp.macosx-10.10-intel-2.7/psycopg/pqpath.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/utils.c -o build/temp.macosx-10.10-intel-2.7/psycopg/utils.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/bytes_format.c -o build/temp.macosx-10.10-intel-2.7/psycopg/bytes_format.oIn file included from psycopg/bytes_format.c:81:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.In file included from psycopg/bytes_format.c:81:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/connection_int.c -o build/temp.macosx-10.10-intel-2.7/psycopg/connection_int.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/connection_type.c -o build/temp.macosx-10.10-intel-2.7/psycopg/connection_type.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/cursor_int.c -o build/temp.macosx-10.10-intel-2.7/psycopg/cursor_int.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/cursor_type.c -o build/temp.macosx-10.10-intel-2.7/psycopg/cursor_type.opsycopg/cursor_type.c:444:58: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]tmp = pq_execute(self, Bytes_AS_STRING(self->query), async, no_result, 0);~~~~~~~~~~^~~~~psycopg/cursor_type.c:778:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]res = _psyco_curs_buildrow(self, self->row);~~~~~~~~~~~~~~~~~~~~~~~~~~^~~psycopg/cursor_type.c:825:44: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]res = _psyco_curs_buildrow(self, self->row);~~~~~~~~~~~~~~~~~~~~~~~~~~^~~psycopg/cursor_type.c:904:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]row = _psyco_curs_buildrow(self, self->row);~~~~~~~~~~~~~~~~~~~~~~~~~~^~~psycopg/cursor_type.c:964:27: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]size = self->rowcount – self->row;~ ~~~~~~~~~~~~~~~^~~~~~~~~~~psycopg/cursor_type.c:974:48: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]row = _psyco_curs_buildrow(self, self->row);~~~~~~~~~~~~~~~~~~~~~~~~~~^~~psycopg/cursor_type.c:1146:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]newpos = self->row + value;~ ~~~~~~~~~~^~~~~~~7 warnings generated.cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/diagnostics_type.c -o build/temp.macosx-10.10-intel-2.7/psycopg/diagnostics_type.opsycopg/diagnostics_type.c:64:54: warning: implicit conversion loses integer precision: 'Py_intptr_t' (aka 'long') to 'int' [-Wshorten-64-to-32]errortext = PQresultErrorField(self->err->pgres, (Py_intptr_t) closure);~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~In file included from psycopg/diagnostics_type.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^2 warnings generated.In file included from psycopg/diagnostics_type.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/error_type.c -o build/temp.macosx-10.10-intel-2.7/psycopg/error_type.oIn file included from psycopg/error_type.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.In file included from psycopg/error_type.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/lobject_int.c -o build/temp.macosx-10.10-intel-2.7/psycopg/lobject_int.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/lobject_type.c -o build/temp.macosx-10.10-intel-2.7/psycopg/lobject_type.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/notify_type.c -o build/temp.macosx-10.10-intel-2.7/psycopg/notify_type.oIn file included from psycopg/notify_type.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.In file included from psycopg/notify_type.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/xid_type.c -o build/temp.macosx-10.10-intel-2.7/psycopg/xid_type.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_asis.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_asis.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_binary.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_binary.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_datetime.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_datetime.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_list.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_list.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_pboolean.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pboolean.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_pdecimal.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pdecimal.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_pint.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pint.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_pfloat.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pfloat.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/adapter_qstring.c -o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_qstring.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/microprotocols.c -o build/temp.macosx-10.10-intel-2.7/psycopg/microprotocols.occ -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/microprotocols_proto.c -o build/temp.macosx-10.10-intel-2.7/psycopg/microprotocols_proto.oIn file included from psycopg/microprotocols_proto.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.In file included from psycopg/microprotocols_proto.c:27:In file included from ./psycopg/psycopg.h:33:./psycopg/config.h:71:13: warning: unused function 'Dprintf' [-Wunused-function]static void Dprintf(const char *fmt, …) {}^1 warning generated.cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090400 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include -I/usr/local/homebrew/Cellar/postgresql/9.4.0/include/server -c psycopg/typecast.c -o build/temp.macosx-10.10-intel-2.7/psycopg/typecast.occ -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.10-intel-2.7/psycopg/psycopgmodule.o build/temp.macosx-10.10-intel-2.7/psycopg/green.o build/temp.macosx-10.10-intel-2.7/psycopg/pqpath.o build/temp.macosx-10.10-intel-2.7/psycopg/utils.o build/temp.macosx-10.10-intel-2.7/psycopg/bytes_format.o build/temp.macosx-10.10-intel-2.7/psycopg/connection_int.o build/temp.macosx-10.10-intel-2.7/psycopg/connection_type.o build/temp.macosx-10.10-intel-2.7/psycopg/cursor_int.o build/temp.macosx-10.10-intel-2.7/psycopg/cursor_type.o build/temp.macosx-10.10-intel-2.7/psycopg/diagnostics_type.o build/temp.macosx-10.10-intel-2.7/psycopg/error_type.o build/temp.macosx-10.10-intel-2.7/psycopg/lobject_int.o build/temp.macosx-10.10-intel-2.7/psycopg/lobject_type.o build/temp.macosx-10.10-intel-2.7/psycopg/notify_type.o build/temp.macosx-10.10-intel-2.7/psycopg/xid_type.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_asis.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_binary.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_datetime.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_list.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pboolean.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pdecimal.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pint.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_pfloat.o build/temp.macosx-10.10-intel-2.7/psycopg/adapter_qstring.o build/temp.macosx-10.10-intel-2.7/psycopg/microprotocols.o build/temp.macosx-10.10-intel-2.7/psycopg/microprotocols_proto.o build/temp.macosx-10.10-intel-2.7/psycopg/typecast.o -L/usr/local/homebrew/Cellar/postgresql/9.4.0/lib -lpq -lssl -lcrypto -o build/lib.macosx-10.10-intel-2.7/psycopg2/_psycopg.sold: warning: ignoring file /usr/local/homebrew/Cellar/postgresql/9.4.0/lib/libpq.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/homebrew/Cellar/postgresql/9.4.0/lib/libpq.dylibSuccessfully installed psycopg2-2.5.4

走自己的路,让别人说去吧

info failed with error code 1坎坷路

相关文章:

你感兴趣的文章:

标签云: