You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Matthias Baetens (JIRA)" <ji...@apache.org> on 2017/04/18 20:04:42 UTC

[jira] [Comment Edited] (BEAM-842) dependency.py: package not found when running on Windows

    [ https://issues.apache.org/jira/browse/BEAM-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973381#comment-15973381 ] 

Matthias Baetens edited comment on BEAM-842 at 4/18/17 8:04 PM:
----------------------------------------------------------------

[~vectorijk], [~altay] sorry for the late reply, lost track of this. The problem was solved soon after I ran into it. Shall I close the issue?


was (Author: matthiasa4):
[vectorijk], [~altay] sorry for the late reply, lost track of this. The problem was solved soon after I ran into it. Shall I close the issue?

> dependency.py: package not found when running on Windows
> --------------------------------------------------------
>
>                 Key: BEAM-842
>                 URL: https://issues.apache.org/jira/browse/BEAM-842
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>         Environment: Windows 10, Python 2.7.11
>            Reporter: Matthias Baetens
>            Priority: Minor
>              Labels: newbie
>
> When having splitting your pipeline into multiple files and configuring your project according to the Juliaset example (https://cloud.google.com/dataflow/pipelines/dependencies-python#multiple-file-dependencies), the Pipeline still crashes when using Windows.
> This is caused by setuptools defaulting to a .zip on Windows, and the current Beam code looks for a .tar.gz (dependency.py, line 400). When changing this line to: output_files = glob.glob(os.path.join(temp_dir, '*.zip')), it works. 
> Suggestion: checking the OS would probably solve this issue. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)