Advertisement
Guest User

Untitled

a guest
Dec 27th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.23 KB | None | 0 0
  1.  
  2.   ----------------------------------------
  3.   Failed building wheel for psycopg2
  4.   Running setup.py clean for psycopg2
  5. Failed to build psycopg2
  6. 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
  7.   Running setup.py install for psycopg2 ... error
  8.     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:
  9.     running install
  10.     running build
  11.     running build_py
  12.     creating build
  13.     creating build/lib.linux-x86_64-2.7
  14.     creating build/lib.linux-x86_64-2.7/psycopg2
  15.     copying lib/extensions.py -> build/lib.linux-x86_64-2.7/psycopg2
  16.     copying lib/psycopg1.py -> build/lib.linux-x86_64-2.7/psycopg2
  17.     copying lib/_range.py -> build/lib.linux-x86_64-2.7/psycopg2
  18.     copying lib/_json.py -> build/lib.linux-x86_64-2.7/psycopg2
  19.     copying lib/__init__.py -> build/lib.linux-x86_64-2.7/psycopg2
  20.     copying lib/pool.py -> build/lib.linux-x86_64-2.7/psycopg2
  21.     copying lib/tz.py -> build/lib.linux-x86_64-2.7/psycopg2
  22.     copying lib/errorcodes.py -> build/lib.linux-x86_64-2.7/psycopg2
  23.     copying lib/extras.py -> build/lib.linux-x86_64-2.7/psycopg2
  24.     creating build/lib.linux-x86_64-2.7/psycopg2/tests
  25.     copying tests/__init__.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  26.     copying tests/test_copy.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  27.     copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  28.     copying tests/test_quote.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  29.     copying tests/test_bug_gc.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  30.     copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  31.     copying tests/test_types_basic.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  32.     copying tests/test_bugX000.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  33.     copying tests/testconfig.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  34.     copying tests/test_lobject.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  35.     copying tests/test_cancel.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  36.     copying tests/test_notify.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  37.     copying tests/testutils.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  38.     copying tests/test_types_extras.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  39.     copying tests/test_module.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  40.     copying tests/test_transaction.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  41.     copying tests/test_dates.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  42.     copying tests/test_green.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  43.     copying tests/test_async.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  44.     copying tests/test_cursor.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  45.     copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  46.     copying tests/test_connection.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  47.     copying tests/test_with.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  48.     copying tests/dbapi20.py -> build/lib.linux-x86_64-2.7/psycopg2/tests
  49.     running build_ext
  50.     building 'psycopg2._psycopg' extension
  51.     creating build/temp.linux-x86_64-2.7
  52.     creating build/temp.linux-x86_64-2.7/psycopg
  53.     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
  54.     In file included from psycopg/psycopgmodule.c:27:0:
  55.     ./psycopg/psycopg.h:30:20: fatal error: Python.h: No existe el archivo o el directorio
  56.     compilation terminated.
  57.     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  58.    
  59.     ----------------------------------------
  60. 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