Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation errors #49

Open
klem-ent opened this issue Nov 23, 2020 · 2 comments
Open

Installation errors #49

klem-ent opened this issue Nov 23, 2020 · 2 comments

Comments

@klem-ent
Copy link

klem-ent commented Nov 23, 2020

Hello,

I have lot of errors like the following while I'm trying to create the CloudBot Azure function.

[11:05:38+0000] Building wheel for typed-ast (setup.py): started
ERROR: Command errored out with exit status 1:
[11:05:51+0000] Building wheel for typed-ast (setup.py): finished with status 'error'
command: /tmp/oryx/platforms/python/3.8.6/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-61eubnx3/typed-ast/setup.py'"'"'; file='"'"'/tmp/pip-install-61eubnx3/typed-ast/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-nlwpzps9
[11:05:51+0000] Running setup.py clean for typed-ast
cwd: /tmp/pip-install-61eubnx3/typed-ast/
[...]
[11:05:38+0000] Building wheel for typed-ast (setup.py): started
ERROR: Command errored out with exit status 1:
[11:05:51+0000] Building wheel for typed-ast (setup.py): finished with status 'error'
command: /tmp/oryx/platforms/python/3.8.6/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-61eubnx3/typed-ast/setup.py'"'"'; file='"'"'/tmp/pip-install-61eubnx3/typed-ast/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-nlwpzps9
[11:05:51+0000] Running setup.py clean for typed-ast
cwd: /tmp/pip-install-61eubnx3/typed-ast/

Is this due to the Python version installed on my station? (Python 3.6.8)

@chrisbeckett
Copy link
Contributor

Try Python 3.7 or 3.8

@klem-ent
Copy link
Author

Try Python 3.7 or 3.8

Hello,

Thanks for your reply. So I've updated my Python version but same error.

Detecting platforms...
Detected following platforms:
python: 3.8.6
dotnet: 3.1.10

Here another error:

gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Iast3/Include -I/tmp/oryx/platforms/python/3.8.6/include/python3.8 -c ast3/Python/ast.c -o build/temp.linux-x86_64-3.8/ast3/Python/ast.o
ast3/Python/ast.c:22:1: error: conflicting types for ‘_PyObject_FastCall’
_PyObject_FastCall(PyObject *func, PyObject *const *args, int nargs)
^~~~~~~~~~~~~~~~~~
In file included from /tmp/oryx/platforms/python/3.8.6/include/python3.8/abstract.h:837:0,
from /tmp/oryx/platforms/python/3.8.6/include/python3.8/Python.h:147,
from ast3/Python/ast.c:6:
/tmp/oryx/platforms/python/3.8.6/include/python3.8/cpython/abstract.h:145:1: note: previous definition of ‘_PyObject_FastCall’ was here
_PyObject_FastCall(PyObject *func, PyObject *const *args, Py_ssize_t nargs)
^~~~~~~~~~~~~~~~~~
error: command 'gcc' failed with exit status 1

ERROR: Failed building wheel for typed-ast
[10:35:58+0000] Failed to build typed-ast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants