Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Running setup.py install for typed-ast: finished with status 'error'
- ERROR: Command errored out with exit status 1:
- 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
- cwd: /tmp/pip-install-k_mlbefb/typed-ast_5293bc31d94e4eadb14cdf9e58a7fb5e/
- Complete output (38 lines):
- /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
- import distutils.core
- running install
- running build
- running build_py
- /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+
- from lib2to3.refactor import RefactoringTool, get_fixers_from_package
- creating build
- creating build/lib.linux-x86_64-3.10-pydebug
- creating build/lib.linux-x86_64-3.10-pydebug/typed_ast
- copying typed_ast/ast3.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
- copying typed_ast/ast27.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
- copying typed_ast/__init__.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
- copying typed_ast/conversions.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast
- package init file 'ast3/tests/__init__.py' not found (or not a regular file)
- creating build/lib.linux-x86_64-3.10-pydebug/typed_ast/tests
- copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-3.10-pydebug/typed_ast/tests
- running build_ext
- building '_ast27' extension
- creating build/temp.linux-x86_64-3.10-pydebug
- creating build/temp.linux-x86_64-3.10-pydebug/ast27
- creating build/temp.linux-x86_64-3.10-pydebug/ast27/Custom
- creating build/temp.linux-x86_64-3.10-pydebug/ast27/Parser
- creating build/temp.linux-x86_64-3.10-pydebug/ast27/Python
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- ast27/Parser/tokenizer.c:19:10: fatal error: pydebug.h: No such file or directory
- 19 | #include "pydebug.h"
- | ^~~~~~~~~~~
- compilation terminated.
- error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
- ----------------------------------------
- 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.
- /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
- warnings.warn(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement