Flo Rance created AIRFLOW-4245:
----------------------------------

             Summary: Can't init with password subpackage
                 Key: AIRFLOW-4245
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4245
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Flo Rance


I'm using v. 1.10.3b2.

If I install the following subpackages, everything is working fine:
{code}
pip install apache-airflow[crypto,postgres,jdbc,ssh
{code}
But if I add password subpackage, I get the following error on init:
{code}
pip install apache-airflow[crypto,postgres,jdbc,ssh,password
{code}
{code}
Traceback (most recent call last):
  File "/usr/local/bin/airflow", line 21, in <module>
    from airflow import configuration
  File "/usr/local/lib/python3.6/site-packages/airflow/__init__.py", line 44, 
in <module>
    settings.initialize()
  File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 290, 
in initialize
    configure_orm()
  File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 193, 
in configure_orm
    engine = create_engine(SQL_ALCHEMY_CONN, **engine_args)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/__init__.py", 
line 431, in create_engine
    return strategy.create(*args, **kwargs)
  File 
"/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 
87, in create
    dbapi = dialect_cls.dbapi(**dbapi_args)
  File 
"/usr/local/lib/python3.6/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py",
 line 599, in dbapi
    import psycopg2
  File "/usr/local/lib/python3.6/site-packages/psycopg2/__init__.py", line 50, 
in <module>
    from psycopg2._psycopg import (                     # noqa
ImportError: libpq.so.5: cannot open shared object file: No such file or 
directory
{code}



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

Reply via email to