[ https://issues.apache.org/jira/browse/AIRFLOW-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Anand updated AIRFLOW-522: ------------------------------------ Description: python setup.py develop is not working on master I see the version being installed is Using /usr/local/lib/python2.7/site-packages/smmap-0.9.0-py2.7.egg Finished processing dependencies for airflow==1.7.2.dev0 but the CLI requires 1.7.1.3 pkg_resources.DistributionNotFound: The 'airflow==1.7.1.3' distribution was not found and is required by the applicati...... The follow shows the results of calling the commands : CLI, which airflow, and echo $AIRFLOW_HOME (venv) Sid-As-MacBook-Pro:airflow siddharth$ airflow version Traceback (most recent call last): File "/Users/siddharth/Projects/airflow/venv/bin/airflow", line 4, in <module> __import__('pkg_resources').require('airflow==1.7.1.3') File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3138, in <module> @_call_aside File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3124, in _call_aside f(*args, **kwargs) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3151, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 663, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 676, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", line 849, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'airflow==1.7.1.3' distribution was not found and is required by the application (venv) Sid-As-MacBook-Pro:airflow siddharth$ which airflow /Users/siddharth/Projects/airflow/venv/bin/airflow (venv) Sid-As-MacBook-Pro:airflow siddharth$ echo $AIRFLOW_HOME /Users/siddharth/Projects/airflow was: python setup.py develop is not working on master I see the version being installed is Using /usr/local/lib/python2.7/site-packages/smmap-0.9.0-py2.7.egg Finished processing dependencies for airflow==1.7.2.dev0 but the CLI requires 1.7.1.3 pkg_resources.DistributionNotFound: The 'airflow==1.7.1.3' distribution was not found and is required by the applicati...... > Version issue when running CLI on master (after running python setup.py > develop) > -------------------------------------------------------------------------------- > > Key: AIRFLOW-522 > URL: https://issues.apache.org/jira/browse/AIRFLOW-522 > Project: Apache Airflow > Issue Type: Bug > Reporter: Siddharth Anand > Assignee: Maxime Beauchemin > > python setup.py develop is not working on master > I see the version being installed is > Using /usr/local/lib/python2.7/site-packages/smmap-0.9.0-py2.7.egg > Finished processing dependencies for airflow==1.7.2.dev0 > but the CLI requires 1.7.1.3 > pkg_resources.DistributionNotFound: The 'airflow==1.7.1.3' distribution was > not found and is required by the applicati...... > The follow shows the results of calling the commands : CLI, which airflow, > and echo $AIRFLOW_HOME > (venv) Sid-As-MacBook-Pro:airflow siddharth$ airflow version > Traceback (most recent call last): > File "/Users/siddharth/Projects/airflow/venv/bin/airflow", line 4, in > <module> > __import__('pkg_resources').require('airflow==1.7.1.3') > File > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 3138, in <module> > @_call_aside > File > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 3124, in _call_aside > f(*args, **kwargs) > File > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 3151, in _initialize_master_working_set > working_set = WorkingSet._build_master() > File > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 663, in _build_master > return cls._build_from_requirements(__requires__) > File > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 676, in _build_from_requirements > dists = ws.resolve(reqs, Environment()) > File > "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources/__init__.py", > line 849, in resolve > raise DistributionNotFound(req, requirers) > pkg_resources.DistributionNotFound: The 'airflow==1.7.1.3' distribution was > not found and is required by the application > (venv) Sid-As-MacBook-Pro:airflow siddharth$ which airflow > /Users/siddharth/Projects/airflow/venv/bin/airflow > (venv) Sid-As-MacBook-Pro:airflow siddharth$ echo $AIRFLOW_HOME > /Users/siddharth/Projects/airflow -- This message was sent by Atlassian JIRA (v6.3.4#6332)