Advertisement
Guest User

Untitled

a guest
Aug 6th, 2014
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.40 KB | None | 0 0
  1. (django_test_venv)jeffy@originaldjangster:~/django_files$ sudo /home/jeffy/django_files/django_test_venv/bin/pip install psycopg2
  2. Downloading/unpacking psycopg2
  3. Downloading psycopg2-2.5.3.tar.gz (690kB): 690kB downloaded
  4. Running setup.py (path:/home/jeffy/django_files/django_test_venv/build/psycopg2/setup.py) egg_info for package psycopg2
  5. Installing collected packages: psycopg2
  6. Running setup.py install for psycopg2
  7. Skipping implicit fixer: buffer
  8. Skipping implicit fixer: idioms
  9. Skipping implicit fixer: set_literal
  10. Skipping implicit fixer: ws_comma
  11. building 'psycopg2._psycopg' extension
  12. i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.3 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090304 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python3.4m -I/home/jeffy/django_files/django_test_venv/include/python3.4m -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.3/server -c psycopg/psycopgmodule.c -o build/temp.linux-i686-3.4/psycopg/psycopgmodule.o -Wdeclaration-after-statement
  13. In file included from psycopg/psycopgmodule.c:27:0:
  14. ./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory
  15. #include
  16. ^
  17. compilation terminated.
  18. error: command 'i686-linux-gnu-gcc' failed with exit status 1
  19. Complete output from command /home/jeffy/django_files/django_test_venv/bin/python3.4 -c "import setuptools, tokenize;__file__='/home/jeffy/django_files/django_test_venv/build/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ecrcggwe-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jeffy/django_files/django_test_venv/include/site/python3.4:
  20. running install
  21. running build
  22. running build_py
  23. creating build
  24. creating build/lib.linux-i686-3.4
  25. creating build/lib.linux-i686-3.4/psycopg2
  26. copying lib/_range.py -> build/lib.linux-i686-3.4/psycopg2
  27. copying lib/extras.py -> build/lib.linux-i686-3.4/psycopg2
  28. copying lib/pool.py -> build/lib.linux-i686-3.4/psycopg2
  29. copying lib/extensions.py -> build/lib.linux-i686-3.4/psycopg2
  30. copying lib/errorcodes.py -> build/lib.linux-i686-3.4/psycopg2
  31. copying lib/psycopg1.py -> build/lib.linux-i686-3.4/psycopg2
  32. copying lib/__init__.py -> build/lib.linux-i686-3.4/psycopg2
  33. copying lib/_json.py -> build/lib.linux-i686-3.4/psycopg2
  34. copying lib/tz.py -> build/lib.linux-i686-3.4/psycopg2
  35. creating build/lib.linux-i686-3.4/psycopg2/tests
  36. copying tests/test_dates.py -> build/lib.linux-i686-3.4/psycopg2/tests
  37. copying tests/test_lobject.py -> build/lib.linux-i686-3.4/psycopg2/tests
  38. copying tests/test_extras_dictcursor.py -> build/lib.linux-i686-3.4/psycopg2/tests
  39. copying tests/test_transaction.py -> build/lib.linux-i686-3.4/psycopg2/tests
  40. copying tests/test_green.py -> build/lib.linux-i686-3.4/psycopg2/tests
  41. copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-i686-3.4/psycopg2/tests
  42. copying tests/test_bug_gc.py -> build/lib.linux-i686-3.4/psycopg2/tests
  43. copying tests/test_bugX000.py -> build/lib.linux-i686-3.4/psycopg2/tests
  44. copying tests/test_notify.py -> build/lib.linux-i686-3.4/psycopg2/tests
  45. copying tests/dbapi20_tpc.py -> build/lib.linux-i686-3.4/psycopg2/tests
  46. copying tests/test_types_basic.py -> build/lib.linux-i686-3.4/psycopg2/tests
  47. copying tests/testconfig.py -> build/lib.linux-i686-3.4/psycopg2/tests
  48. copying tests/test_with.py -> build/lib.linux-i686-3.4/psycopg2/tests
  49. copying tests/test_quote.py -> build/lib.linux-i686-3.4/psycopg2/tests
  50. copying tests/test_copy.py -> build/lib.linux-i686-3.4/psycopg2/tests
  51. copying tests/test_module.py -> build/lib.linux-i686-3.4/psycopg2/tests
  52. copying tests/test_types_extras.py -> build/lib.linux-i686-3.4/psycopg2/tests
  53. copying tests/dbapi20.py -> build/lib.linux-i686-3.4/psycopg2/tests
  54. copying tests/test_connection.py -> build/lib.linux-i686-3.4/psycopg2/tests
  55. copying tests/test_async.py -> build/lib.linux-i686-3.4/psycopg2/tests
  56. copying tests/__init__.py -> build/lib.linux-i686-3.4/psycopg2/tests
  57. copying tests/test_cursor.py -> build/lib.linux-i686-3.4/psycopg2/tests
  58. copying tests/testutils.py -> build/lib.linux-i686-3.4/psycopg2/tests
  59. copying tests/test_cancel.py -> build/lib.linux-i686-3.4/psycopg2/tests
  60. Skipping implicit fixer: buffer
  61. Skipping implicit fixer: idioms
  62. Skipping implicit fixer: set_literal
  63. Skipping implicit fixer: ws_comma
  64. running build_ext
  65. building 'psycopg2._psycopg' extension
  66. creating build/temp.linux-i686-3.4
  67. creating build/temp.linux-i686-3.4/psycopg
  68. i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.3 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090304 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python3.4m -I/home/jeffy/django_files/django_test_venv/include/python3.4m -I. -I/usr/include/postgresql -I/usr/include/postgresql/9.3/server -c psycopg/psycopgmodule.c -o build/temp.linux-i686-3.4/psycopg/psycopgmodule.o -Wdeclaration-after-statement
  69. In file included from psycopg/psycopgmodule.c:27:0:
  70. ./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory
  71. #include
  72. ^
  73. compilation terminated.
  74. error: command 'i686-linux-gnu-gcc' failed with exit status 1
  75. ----------------------------------------
  76. Cleaning up...
  77. Command /home/jeffy/django_files/django_test_venv/bin/python3.4 -c "import setuptools, tokenize;__file__='/home/jeffy/django_files/django_test_venv/build/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ecrcggwe-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/jeffy/django_files/django_test_venv/include/site/python3.4 failed with error code 1 in /home/jeffy/django_files/django_test_venv/build/psycopg2
  78. Storing debug log for failure in /home/jeffy/.pip/pip.log
  79. (django_test_venv)jeffy@originaldjangster:~/django_files$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement