aparo / pyes

Python connector for ElasticSearch - the pythonic way to use ElasticSearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid syntax in pyes/utils/imports.py when installing via pip 1.5.6

EmilStenstrom opened this issue · comments

Hi,

I just upgraded pip and tried installing pyes. When I did, I got the following installation trace, that mentioned "invalid syntax". Things seem to work as they should anyway though.

$ pip install pyes==0.99.4
Downloading/unpacking pyes==0.99.4
  Downloading pyes-0.99.4.tar.gz (101kB): 101kB downloaded
  Running setup.py (path:/tmp/pip_build_root/pyes/setup.py) egg_info for package pyes

    warning: no files found matching 'pavement.py'
    warning: no files found matching '*' under directory 'bin'
    warning: no files found matching '*' under directory 'examples'
    no previously-included directories found matching 'docs/*'
    no previously-included directories found matching 'tests/*.pyc'
    no previously-included directories found matching 'contrib/*.pyc'
    no previously-included directories found matching 'pyes/*.pyc'
    no previously-included directories found matching 'bin/*.pyc'
Requirement already satisfied (use --upgrade to upgrade): urllib3>=1.7 in /usr/local/lib/python2.7/dist-packages (from pyes==0.99.4)
Requirement already satisfied (use --upgrade to upgrade): six>=1.5.2 in /usr/local/lib/python2.7/dist-packages (from pyes==0.99.4)
Installing collected packages: pyes
  Found existing installation: pyes 0.90.1
    Uninstalling pyes:
      Successfully uninstalled pyes
  Running setup.py install for pyes
    SyntaxError: ('invalid syntax', ('/usr/local/lib/python2.7/dist-packages/pyes/utils/imports.py', 96, 73, '            raise ValueError("Couldn\'t import %r: %s" % (name, exc)) from sys.exc_info()[2]\n'))


    warning: no files found matching 'pavement.py'
    warning: no files found matching '*' under directory 'bin'
    warning: no files found matching '*' under directory 'examples'
    no previously-included directories found matching 'docs/*'
    no previously-included directories found matching 'tests/*.pyc'
    no previously-included directories found matching 'contrib/*.pyc'
    no previously-included directories found matching 'pyes/*.pyc'
    no previously-included directories found matching 'bin/*.pyc'
Successfully installed pyes
Cleaning up...