Python-daemon 2.0.5 will not install using pip

I get errors when trying to install python-daemon 2.0.5 with pip and python 2.6. I know there are other questions related to python-daemon 2.0.3 with this problem. But these answers indicate that it should be fixed.

I also tried to install old versions, no luck. Although, if I start with the new virtualenv, I can install 1.5.6. However in this virtualenv I get the same error with 2.0.5 and 1.5.6

(py26)[brianb@api proj]$ pip install python-daemon
Downloading/unpacking python-daemon
 Downloading python-daemon-2.0.5.tar.gz (71Kb): 71Kb downloaded
  Running setup.py egg_info for package python-daemon
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/brianb/py26/build/python-daemon/setup.py", line 26, in     <module>
        import version
      File "version.py", line 438
        for item in versions}
      ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/home/brianb/py26/build/python-daemon/setup.py", line 26, in <module>

    import version

  File "version.py", line 438

    for item in versions}

  ^

SyntaxError: invalid syntax

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/brianb/.pip/pip.log
+4
source share
1 answer

This is strange! I also tried updating virtualenv, but that didn't work.

To run it, I had to switch to Python 2.7.

0
source

All Articles