dome9 / cloud-bots-azure

cloud-bots-azure repo
GNU General Public License v3.0
26 stars 19 forks source link

Installation errors #49

Open klem-ent opened 4 years ago

klem-ent commented 4 years ago

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 commented 4 years ago

Try Python 3.7 or 3.8

klem-ent commented 4 years ago

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