Skip to content

Instantly share code, notes, and snippets.

@krvc
Created September 23, 2015 10:54
Show Gist options
  • Save krvc/f78c851d37bdf05c65fe to your computer and use it in GitHub Desktop.
Save krvc/f78c851d37bdf05c65fe to your computer and use it in GitHub Desktop.
psycopg installation error
building 'psycopg2._psycopg' extension
creating build/temp.macosx-10.9-intel-2.7
creating build/temp.macosx-10.9-intel-2.7/psycopg
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.6 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x090304 -DHAVE_LO64=1 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I. -I/usr/local/Cellar/postgresql/9.3.4/include -I/usr/local/Cellar/postgresql/9.3.4/include/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.9-intel-2.7/psycopg/psycopgmodule.o
/usr/libexec/gcc/i686-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/i386/as or /usr/bin/../local/libexec/gcc/darwin/i386/as) for architecture i386 not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/ppc64/as for architecture ppc64
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
psycopg/psycopgmodule.c:933: fatal error: error writing to -: Broken pipe
compilation terminated.
fatal error: lipo: can't open input file: /var/folders/75/hr3_7tjn2ll1q9c_rxzkppqr0000gn/T//cc62lPD9.out (No such file or directory)
error: command 'cc' failed with exit status 1
----------------------------------------
Cleaning up...
Command /Users/rakeshvidyachandra/.virtualenvs/innovacx/bin/python -c "import setuptools, tokenize;__file__='/Users/rakeshvidyachandra/.virtualenvs/innovacx/build/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/75/hr3_7tjn2ll1q9c_rxzkppqr0000gn/T/pip-YCSOQe-record/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rakeshvidyachandra/.virtualenvs/innovacx/include/site/python2.7 failed with error code 1 in /Users/rakeshvidyachandra/.virtualenvs/innovacx/build/psycopg2
Storing debug log for failure in /Users/rakeshvidyachandra/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment