Advertisement
cooperlees

Untitled

Mar 16th, 2021
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.82 KB | None | 0 0
  1. Running setup.py install for typed-ast: finished with status 'error'
  2. ERROR: Command errored out with exit status 1:
  3. command: /tmp/ptr_venv_4589/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k_mlbefb/typed-ast_5293bc31d94e4eadb14cdf9e58a7fb5e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k_mlbefb/typed-ast_5293bc31d94e4eadb14cdf9e58a7fb5e/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-px1a8vpk/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/ptr_venv_4589/include/site/python3.10/typed-ast
  4. cwd: /tmp/pip-install-k_mlbefb/typed-ast_5293bc31d94e4eadb14cdf9e58a7fb5e/
  5. Complete output (38 lines):
  6. /tmp/ptr_venv_4589/lib/python3.10/site-packages/setuptools/__init__.py:10: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
  7. import distutils.core
  8. running install
  9. running build
  10. running build_py
  11. /tmp/ptr_venv_4589/lib/python3.10/site-packages/setuptools/lib2to3_ex.py:10: PendingDeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+
  12. from lib2to3.refactor import RefactoringTool, get_fixers_from_package
  13. creating build
  14. creating build/lib.linux-x86_64-3.10-pydebug
  15. creating build/lib.linux-x86_64-3.10-pydebug/typed_ast
  16. copying typed_ast/ast3.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
  17. copying typed_ast/ast27.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
  18. copying typed_ast/__init__.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
  19. copying typed_ast/conversions.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
  20. package init file 'ast3/tests/__init__.py' not found (or not a regular file)
  21. creating build/lib.linux-x86_64-3.10-pydebug/typed_ast/tests
  22. copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast/tests
  23. running build_ext
  24. building '_ast27' extension
  25. creating build/temp.linux-x86_64-3.10-pydebug
  26. creating build/temp.linux-x86_64-3.10-pydebug/ast27
  27. creating build/temp.linux-x86_64-3.10-pydebug/ast27/Custom
  28. creating build/temp.linux-x86_64-3.10-pydebug/ast27/Parser
  29. creating build/temp.linux-x86_64-3.10-pydebug/ast27/Python
  30. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Custom/typed_ast.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Custom/typed_ast.o
  31. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/acceler.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/acceler.o
  32. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/bitset.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/bitset.o
  33. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/grammar.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/grammar.o
  34. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/grammar1.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/grammar1.o
  35. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/node.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/node.o
  36. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/parser.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/parser.o
  37. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/parsetok.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/parsetok.o
  38. x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -g -Og -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Iast27/Include -I/tmp/ptr_venv_4589/include -I/usr/include/python3.10d -c ast27/Parser/tokenizer.c -o build/temp.linux-x86_64-3.10-pydebug/ast27/Parser/tokenizer.o
  39. ast27/Parser/tokenizer.c:19:10: fatal error: pydebug.h: No such file or directory
  40. 19 | #include "pydebug.h"
  41. | ^~~~~~~~~~~
  42. compilation terminated.
  43. error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
  44. ----------------------------------------
  45. ERROR: Command errored out with exit status 1: /tmp/ptr_venv_4589/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-k_mlbefb/typed-ast_5293bc31d94e4eadb14cdf9e58a7fb5e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-k_mlbefb/typed-ast_5293bc31d94e4eadb14cdf9e58a7fb5e/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-px1a8vpk/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/ptr_venv_4589/include/site/python3.10/typed-ast Check the logs for full command output.
  46. /tmp/ptr_venv_4589/lib/python3.10/site-packages/pip/_vendor/packaging/version.py:127: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
  47. warnings.warn(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement