Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-7593

Building Python SDK harness fails to build without virtualenv pre-installed

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-harness

    Description

      Hi all,

       

      I tried building the python sdk harness according to https://beam.apache.org/documentation/runners/flink/ and it failed for me when I didn't have virtualenv installed (and succeeded after I did install it for the system python env).

      Specific error message:

      > Task :sdks:python:setupVirtualenv FAILED
      

      and below

      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':sdks:python:setupVirtualenv'.
      > A problem occurred starting process 'command 'virtualenv''
      

      Not sure if this can be fixed with gradle or if it's easier to just publish the docker image so I don't need to build it myself. Alternatively the virtualenv prerequisite could also be added to the guide of course.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jjbankert jjbankert
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: