You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jeff Webb (Jira)" <ji...@apache.org> on 2021/09/14 23:00:11 UTC

[jira] [Updated] (BEAM-9925) Failed building wheel for fastavro

     [ https://issues.apache.org/jira/browse/BEAM-9925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Webb updated BEAM-9925:
----------------------------
    Resolution: Won't Fix
        Status: Resolved  (was: Triage Needed)

old issue - resolving

 

> 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
>            Priority: P3
>
> 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)