daniel lucash created BEAM-9925:
-----------------------------------

             Summary: Failed building wheel for fastavro
                 Key: BEAM-9925
                 URL: https://issues.apache.org/jira/browse/BEAM-9925
             Project: Beam
          Issue Type: Bug
          Components: dependencies, sdk-py-core
    Affects Versions: 2.20.0
         Environment: Mac OS Mojave 10.14.6, Python v3.8.1
            Reporter: daniel lucash


I'm trying to pip install apache-beam to use Dataflow. Install fails during 
wheel build for fastavro

Building wheel for fastavro (setup.py) ... error
 ERROR: Command errored out with exit status 1 ...

...3 warnings and 12 errors generated.
 error: command 'gcc' failed with exit status 1
 ----------------------------------------
 ERROR: Failed building wheel for fastavro

e.g. error:

fastavro/_read.c:318:82: note: expanded from macro '__Pyx_PyCode_New'
 PyCode_New(a, 0, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
 ~~~~~~~~~~ ^~~~
 
/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8/code.h:122:12:
 note: 'PyCode_New' declared here
 PyAPI_FUNC(PyCodeObject *) PyCode_New(
 ^
 fastavro/_read.c:15783:266: error: too many arguments to function call, 
expected 15, have 16
 __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(5, 0, 11, 0, 
CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, 
__pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, 
__pyx_kp_s_fastavro__read_pyx, __pyx_n_s_iter_avro_blocks, 648, 
__pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 648, 
__pyx_L1_error)

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to