fedorm

Untitled

Sep 14th, 2020
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.38 KB | None | 0 0
  1. Building wheels for collected packages: billiard, psycopg2
  2. Building wheel for billiard (setup.py): started
  3. Building wheel for billiard (setup.py): finished with status 'done'
  4. Created wheel for billiard: filename=billiard-3.5.0.4-py3-none-any.whl size=87865 sha256=bb9605bbcb3cdd677ea1cd9bfe775017286bcfc9375e7e066337e4c2f9f5263f
  5. Stored in directory: /tmp/pip-ephem-wheel-cache-627pmbjh/wheels/ff/fb/65/4815cf945683893e9f30a0df60d4e152011431fb620f769789
  6. Building wheel for psycopg2 (setup.py): started
  7. Building wheel for psycopg2 (setup.py): finished with status 'error'
  8. ERROR: Command errored out with exit status 1:
  9. command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a32q_wc_/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a32q_wc_/psycopg2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gbjhvcjl
  10. cwd: /tmp/pip-install-a32q_wc_/psycopg2/
  11. Complete output (72 lines):
  12. running bdist_wheel
  13. running build
  14. running build_py
  15. creating build
  16. creating build/lib.linux-x86_64-3.8
  17. creating build/lib.linux-x86_64-3.8/psycopg2
  18. copying lib/_range.py -> build/lib.linux-x86_64-3.8/psycopg2
  19. copying lib/errorcodes.py -> build/lib.linux-x86_64-3.8/psycopg2
  20. copying lib/extras.py -> build/lib.linux-x86_64-3.8/psycopg2
  21. copying lib/extensions.py -> build/lib.linux-x86_64-3.8/psycopg2
  22. copying lib/tz.py -> build/lib.linux-x86_64-3.8/psycopg2
  23. copying lib/psycopg1.py -> build/lib.linux-x86_64-3.8/psycopg2
  24. copying lib/_json.py -> build/lib.linux-x86_64-3.8/psycopg2
  25. copying lib/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2
  26. copying lib/_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2
  27. copying lib/pool.py -> build/lib.linux-x86_64-3.8/psycopg2
  28. copying lib/sql.py -> build/lib.linux-x86_64-3.8/psycopg2
  29. creating build/lib.linux-x86_64-3.8/psycopg2/tests
  30. copying tests/test_fast_executemany.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  31. copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  32. copying tests/test_with.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  33. copying tests/dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  34. copying tests/test_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  35. copying tests/test_replication.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  36. copying tests/test_types_extras.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  37. copying tests/test_transaction.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  38. copying tests/test_sql.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  39. copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  40. copying tests/test_quote.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  41. copying tests/test_module.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  42. copying tests/test_bug_gc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  43. copying tests/test_copy.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  44. copying tests/test_cancel.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  45. copying tests/test_errcodes.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  46. copying tests/test_lobject.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  47. copying tests/test_types_basic.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  48. copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  49. copying tests/test_notify.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  50. copying tests/test_connection.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  51. copying tests/test_cursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  52. copying tests/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  53. copying tests/test_green.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  54. copying tests/testutils.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  55. copying tests/test_bugX000.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  56. copying tests/test_dates.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  57. copying tests/test_async.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  58. copying tests/test_async_keyword.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  59. copying tests/testconfig.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  60. Skipping optional fixer: buffer
  61. Skipping optional fixer: idioms
  62. Skipping optional fixer: set_literal
  63. Skipping optional fixer: ws_comma
  64. running build_ext
  65. building 'psycopg2._psycopg' extension
  66. creating build/temp.linux-x86_64-3.8
  67. creating build/temp.linux-x86_64-3.8/psycopg
  68. gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION=2.7.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=120004 -DHAVE_LO64=1 -I/usr/local/include/python3.8 -I. -I/usr/include -I/usr/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.8/psycopg/psycopgmodule.o -Wdeclaration-after-statement
  69. psycopg/psycopgmodule.c: In function 'psyco_is_main_interp':
  70. psycopg/psycopgmodule.c:689:18: error: dereferencing pointer to incomplete type 'PyInterpreterState' {aka 'struct _is'}
  71. 689 | while (interp->next)
  72. | ^~
  73.  
  74. It appears you are missing some prerequisite to build the package from source.
  75.  
  76. You may install a binary package by installing 'psycopg2-binary' from PyPI.
  77. If you want to install psycopg2 from source, please install the packages
  78. required for the build and try again.
  79.  
  80. For further information please check the 'doc/src/install.rst' file (also at
  81. <http://initd.org/psycopg/docs/install.html>).
  82.  
  83. error: command 'gcc' failed with exit status 1
  84. ----------------------------------------
  85. ERROR: Failed building wheel for psycopg2
  86. Running setup.py clean for psycopg2
  87. Successfully built billiard
  88. Failed to build psycopg2
  89. Installing collected packages: vine, amqp, billiard, pytz, kombu, celery, Django, django-celery-beat, django-celery-results, gunicorn, psycopg2
  90. Running setup.py install for psycopg2: started
  91. Running setup.py install for psycopg2: finished with status 'error'
  92. ERROR: Command errored out with exit status 1:
  93. command: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a32q_wc_/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a32q_wc_/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-record-k4b56brr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/psycopg2
  94. cwd: /tmp/pip-install-a32q_wc_/psycopg2/
  95. Complete output (72 lines):
  96. running install
  97. running build
  98. running build_py
  99. creating build
  100. creating build/lib.linux-x86_64-3.8
  101. creating build/lib.linux-x86_64-3.8/psycopg2
  102. copying lib/_range.py -> build/lib.linux-x86_64-3.8/psycopg2
  103. copying lib/errorcodes.py -> build/lib.linux-x86_64-3.8/psycopg2
  104. copying lib/extras.py -> build/lib.linux-x86_64-3.8/psycopg2
  105. copying lib/extensions.py -> build/lib.linux-x86_64-3.8/psycopg2
  106. copying lib/tz.py -> build/lib.linux-x86_64-3.8/psycopg2
  107. copying lib/psycopg1.py -> build/lib.linux-x86_64-3.8/psycopg2
  108. copying lib/_json.py -> build/lib.linux-x86_64-3.8/psycopg2
  109. copying lib/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2
  110. copying lib/_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2
  111. copying lib/pool.py -> build/lib.linux-x86_64-3.8/psycopg2
  112. copying lib/sql.py -> build/lib.linux-x86_64-3.8/psycopg2
  113. creating build/lib.linux-x86_64-3.8/psycopg2/tests
  114. copying tests/test_fast_executemany.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  115. copying tests/test_extras_dictcursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  116. copying tests/test_with.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  117. copying tests/dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  118. copying tests/test_ipaddress.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  119. copying tests/test_replication.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  120. copying tests/test_types_extras.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  121. copying tests/test_transaction.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  122. copying tests/test_sql.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  123. copying tests/dbapi20_tpc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  124. copying tests/test_quote.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  125. copying tests/test_module.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  126. copying tests/test_bug_gc.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  127. copying tests/test_copy.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  128. copying tests/test_cancel.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  129. copying tests/test_errcodes.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  130. copying tests/test_lobject.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  131. copying tests/test_types_basic.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  132. copying tests/test_psycopg2_dbapi20.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  133. copying tests/test_notify.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  134. copying tests/test_connection.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  135. copying tests/test_cursor.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  136. copying tests/__init__.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  137. copying tests/test_green.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  138. copying tests/testutils.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  139. copying tests/test_bugX000.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  140. copying tests/test_dates.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  141. copying tests/test_async.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  142. copying tests/test_async_keyword.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  143. copying tests/testconfig.py -> build/lib.linux-x86_64-3.8/psycopg2/tests
  144. Skipping optional fixer: buffer
  145. Skipping optional fixer: idioms
  146. Skipping optional fixer: set_literal
  147. Skipping optional fixer: ws_comma
  148. running build_ext
  149. building 'psycopg2._psycopg' extension
  150. creating build/temp.linux-x86_64-3.8
  151. creating build/temp.linux-x86_64-3.8/psycopg
  152. gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION=2.7.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=120004 -DHAVE_LO64=1 -I/usr/local/include/python3.8 -I. -I/usr/include -I/usr/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.8/psycopg/psycopgmodule.o -Wdeclaration-after-statement
  153. psycopg/psycopgmodule.c: In function 'psyco_is_main_interp':
  154. psycopg/psycopgmodule.c:689:18: error: dereferencing pointer to incomplete type 'PyInterpreterState' {aka 'struct _is'}
  155. 689 | while (interp->next)
  156. | ^~
  157.  
  158. It appears you are missing some prerequisite to build the package from source.
  159.  
  160. You may install a binary package by installing 'psycopg2-binary' from PyPI.
  161. If you want to install psycopg2 from source, please install the packages
  162. required for the build and try again.
  163.  
  164. For further information please check the 'doc/src/install.rst' file (also at
  165. <http://initd.org/psycopg/docs/install.html>).
  166.  
  167. error: command 'gcc' failed with exit status 1
  168. ----------------------------------------
  169. ERROR: Command errored out with exit status 1: /usr/local/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-a32q_wc_/psycopg2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-a32q_wc_/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-record-k4b56brr/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.8/psycopg2 Check the logs for full command output.
  170. ERROR: Service 'app' failed to build: The command '/bin/sh -c pip install --no-cache-dir -r requirements.txt' returned a non-zero code: 1
  171. (venv) [root@centos-4gb-hel1-1 django-celery-docker-example]#
Add Comment
Please, Sign In to add comment