pip install airflow[postgres] throws RequirementParseError

432 views
Skip to first unread message

Jon Andrews

unread,
Apr 28, 2016, 12:16:43 PM4/28/16
to Airflow
Ubuntu 16.04

Same error attempting to install any of subpackages

tried downgrading setuptools and updating airflow, no help

any ideas would be greatly appreciated

thanks

:~$ pip install airflow[postgres]
Exception:
Traceback (most recent call last):
 
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
    status
= self.run(options, args)
 
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 305, in run
    wheel_cache
 
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 270, in populate_requirement_set
    wheel_cache
=wheel_cache
 
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 234, in from_line
    extras
).extras
 
File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2833, in parse
    req
, = parse_requirements(s)
 
File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2781, in parse_requirements
   
yield Requirement(line)
 
File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2790, in __init__
   
raise RequirementParseError(str(e))
RequirementParseError: Invalid requirement, parse error at "'__placeh'"


Maxime Beauchemin

unread,
May 5, 2016, 3:13:38 PM5/5/16
to Airflow
`pip install pip --upgrade` ?
Reply all
Reply to author
Forward
0 new messages