You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Siddharth Anand (JIRA)" <ji...@apache.org> on 2016/09/21 05:20:20 UTC
[jira] [Closed] (AIRFLOW-522) Version issue when running CLI on
master (after running python setup.py develop)
[ https://issues.apache.org/jira/browse/AIRFLOW-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Anand closed AIRFLOW-522.
-----------------------------------
Resolution: Workaround
A fresh workaround resolves it
> 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)