You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "jack (JIRA)" <ji...@apache.org> on 2018/08/20 14:15:00 UTC

[jira] [Commented] (AIRFLOW-2890) AirFlow does not get started

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

jack commented on AIRFLOW-2890:
-------------------------------

[~zhilevan] Are you trying to install Airflow over windows? it can't be done.

> AirFlow does not get started
> ----------------------------
>
>                 Key: AIRFLOW-2890
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2890
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Zhilevan
>            Priority: Major
>
> According to AirFlow Offical documentation, I tried the followings
> # airflow needs a home, ~/airflow is the default,
> # but you can lay foundation somewhere else if you prefer
> # (optional)
> export AIRFLOW_HOME=~/airflow
>  
> # install from pypi using pip
> pip install apache-airflow
>  
> # initialize the database
> airflow initdb
>  
> # start the web server, default port is 8080
> airflow webserver -p 8080
> but faced with
> [2018-08-12 11:43:25,683] \{__init__.py:45} INFO - Using executor SequentialExecutor
> ____________ _____________
> ____ |__( )_________ __/__ /________ __
> ____ /| |_ /__ ___/_ /_ __ /_ __ \_ | /| / /
> ___ ___ | / _ / _ __/ _ / / /_/ /_ |/ |/ /
> _/_/ |_/_/ /_/ /_/ /_/ \____/____/|__/
>  
> /usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.
> .format(x=modname), ExtDeprecationWarning
> Traceback (most recent call last):
> File "/usr/local/bin/airflow", line 27, in <module>
> args.func(args)
> File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/airflow/bin/cli.py", line 678, in webserver
> app = cached_app(conf)
> File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/airflow/www/app.py", line 161, in cached_app
> app = create_app(config)
> File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/airflow/www/app.py", line 59, in create_app
> from airflow.www import views
> File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/airflow/www/views.py", line 29, in <module>
> import bleach
> File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bleach/__init__.py", line 8, in <module>
> from bleach.linkifier import (
> File "/usr/local/Cellar/python3/3.6.2/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/bleach/linkifier.py", line 7, in <module>
> from html5lib.filters.sanitizer import allowed_protocols
> ImportError: cannot import name 'allowed_protocols'
>  



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