Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30106

Build python wheels on macs failed due to install for crcmod error

    XMLWordPrintableJSON

Details

    Description

              note: This error originates from a subprocess, and is likely not a problem with pip.
              ERROR: Failed building wheel for crcmod
              Running setup.py clean for crcmod
              error: subprocess-exited-with-error
            
              × python setup.py clean did not run successfully.
              │ exit code: 1
              ╰─> [14 lines of output]
                  error: Multiple top-level packages discovered in a flat-layout: ['python3', 'python2'].
            
                  To avoid accidental inclusion of unwanted files or directories,
                  setuptools will not proceed with this build.
            
                  If you are trying to create a single distribution with multiple packages
                  on purpose, you should not rely on automatic discovery.
                  Instead, consider the following options:
            
                  1. set up custom discovery (`find` directive with `include` or `exclude`)
                  2. use a `src-layout`
                  3. explicitly set `py_modules` or `packages` with a list of names
            
                  To find more information, look for "package discovery" on setuptools docs.
                  [end of output]
            
              note: This error originates from a subprocess, and is likely not a problem with pip.
              ERROR: Failed cleaning build dir for crcmod
              Building wheel for dill (setup.py): started
              Building wheel for dill (setup.py): finished with status 'done'
              Created wheel for dill: filename=dill-0.3.1.1-py3-none-any.whl size=78544 sha256=9ce160b3c3e2e1dcd24e136c59fb84ef9bd072b4715c6b34536d3ff9c39a5962
      

      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=43279&view=logs&j=f73b5736-8355-5390-ec71-4dfdec0ce6c5&t=90f7230e-bf5a-531b-8566-ad48d3e03bbb

      Attachments

        Activity

          People

            Unassigned Unassigned
            leonard Leonard Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: