You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Omar Marzouk (JIRA)" <ji...@apache.org> on 2018/05/23 12:42:00 UTC

[jira] [Resolved] (AIRFLOW-2507) No module named apiclient.discovery

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

Omar Marzouk resolved AIRFLOW-2507.
-----------------------------------
    Resolution: Won't Fix

> No module named apiclient.discovery
> -----------------------------------
>
>                 Key: AIRFLOW-2507
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2507
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Omar Marzouk
>            Priority: Major
>
> Unable to import DataFlowPythonOperator:
>  
> {code:java}
> webserver_1 | File "/usr/local/airflow/dags/train_classifier.py", line 4, in <module>
> webserver_1 | from airflow.contrib.operators.dataflow_operator import DataFlowPythonOperator
> webserver_1 | File "/usr/local/lib/python2.7/site-packages/airflow/contrib/operators/dataflow_operator.py", line 19, in <module>
> webserver_1 | from airflow.contrib.hooks.gcs_hook import GoogleCloudStorageHook
> webserver_1 | File "/usr/local/lib/python2.7/site-packages/airflow/contrib/hooks/gcs_hook.py", line 15, in <module>
> webserver_1 | from apiclient.discovery import build
> webserver_1 | ImportError: No module named apiclient.discovery
> {code}
> Environment:
> python 2.7.15
> project's requirements.txt:
> {code:java}
> sklearn
> numpy
> {code}
> running using Dockerfile here: https://github.com/omarzouk/docker-airflow/blob/master/Dockerfile
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)