Skip to content

Install fails with Python 2 because of more-itertools version #103

Description

@nezda

Attempting to install from current master source on a machine with python 2 with sudo python setup.py install fails with

  File "/tmp/easy_install-Vd6lIV/more-itertools-8.2.0/more_itertools/more.py", line 480
    yield from iterable
             ^
SyntaxError: invalid syntax

Pinning more-itertools by adding more-itertools==5.0.0; python_version <= '2.7' after

psycopg2
worked for me

Activity

  1. changed the title [-]Install fails with Python 2 due to because of more-itertools version[/-] [+]Install fails with Python 2 because of more-itertools version[/+] on Apr 28, 2020
  2. added a commit that references this issue on Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions