Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ----------------------------------------
- Failed building wheel for psycopg2
- Running setup.py clean for psycopg2
- Failed to build psycopg2
- Installing collected packages: Django, anyjson, amqp, kombu, pytz, billiard, celery, django-celery, six, django-picklefield, html5lib, psycopg2, pyparsing, python-dateutil, python-openid, gunicorn, requests, unicodecsv, dj-database-url, django-sslify, WebOb, waitress, beautifulsoup4, webtest, django-webtest, django-secure, bleach, boto, django-ses, validate-email, httplib2, oauth2client, rollbar
- Running setup.py install for psycopg2 ... error
- Complete output from command /home/gfbot/Github/helios-server/env/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-CkbYa6/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-8ZoTtV-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/gfbot/Github/helios-server/env/include/site/python2.7/psycopg2:
- running install
- running build
- running build_py
- creating build
- creating build/lib.linux-x86_64-2.7
- creating build/lib.linux-x86_64-2.7/psycopg2
- copying lib/extensions.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/psycopg1.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/_range.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/_json.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/__init__.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/pool.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/tz.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/errorcodes.py -> build/lib.linux-x86_64-2.7/psycopg2
- copying lib/extras.py -> build/lib.linux-x86_64-2.7/psycopg2
- creating build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/__init__.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_copy.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_quote.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_bug_gc.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_types_basic.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_bugX000.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/testconfig.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_lobject.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_cancel.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_notify.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/testutils.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_types_extras.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_module.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_transaction.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_dates.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_green.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_async.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_cursor.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_connection.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/test_with.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- copying tests/dbapi20.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
- running build_ext
- building 'psycopg2._psycopg' extension
- creating build/temp.linux-x86_64-2.7
- creating build/temp.linux-x86_64-2.7/psycopg
- x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.6.1 (dt dec pq3 ext lo64)" -DPG_VERSION_HEX=0x09050A -DHAVE_LO64=1 -I/usr/include/python2.7 -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.5/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-2.7/psycopg/psycopgmodule.o -Wdeclaration-after-statement
- In file included from psycopg/psycopgmodule.c:27:0:
- ./psycopg/psycopg.h:30:20: fatal error: Python.h: No existe el archivo o el directorio
- compilation terminated.
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
- ----------------------------------------
- Command "/home/gfbot/Github/helios-server/env/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-CkbYa6/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-8ZoTtV-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/gfbot/Github/helios-server/env/include/site/python2.7/psycopg2" failed with error code 1 in /tmp/pip-build-CkbYa6/psycopg2/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement