You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by Thomas Weise <th...@apache.org> on 2017/04/20 23:22:29 UTC

Installing Airflow from locally built .egg

Hi,

What is right way of installing the .egg from the local build on another
machine? I need a build with extra patches that isn't available through
central distribution.

$ ls dist/

airflow-1.8.0+apache.incubating-py2.7.egg

When I copy that file to the target machine and run pip install, I get the
error below.

$ pip -V

pip 9.0.1 from
/home/ec2-user/airflow/airflow-ve/local/lib/python2.7/dist-packages (python
2.7)


Thanks,

Thomas


(airflow-ve)[ec2-user@xxx airflow]$ pip install
airflow-1.8.0+apache.incubating-py2.7.egg

Invalid requirement: 'airflow-1.8.0+apache.incubating-py2.7.egg'

Traceback (most recent call last):

  File
"/home/ec2-user/airflow/airflow-ve/local/lib/python2.7/dist-packages/pip/req/req_install.py",
line 82, in __init__

    req = Requirement(req)

  File
"/home/ec2-user/airflow/airflow-ve/local/lib/python2.7/dist-packages/pip/_vendor/packaging/requirements.py",
line 96, in __init__

    requirement_string[e.loc:e.loc + 8]))

InvalidRequirement: Invalid requirement, parse error at "'+apache.'"