Dear all,
I've just tried to install the current rev. 4188.
The installation did not throw any errors.
However, I could not run Gc3pie (Python 2.7.5):
>>> from gc3libs.cmdline import SessionBasedScript
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/path/to/python/lib/python2.7/site-packages/gc3pie-2.3.dev-py2.7.egg/gc3libs/cmdline.py", line 69, in <module>
from gc3libs.session import Session
File "/path/to/python/lib/python2.7/site-packages/gc3pie-2.3.dev-py2.7.egg/gc3libs/session.py", line 37, in <module>
from gc3libs.workflow import TaskCollection
File "/path/to/python/lib/python2.7/site-packages/gc3pie-2.3.dev-py2.7.egg/gc3libs/workflow.py", line 36, in <module>
from gc3libs.compat.toposort import toposort
File "/path/to/python/lib/python2.7/site-packages/gc3pie-2.3.dev-py2.7.egg/gc3libs/compat/toposort.py", line 43, in <module>
from functools import reduce as _reduce
ImportError: cannot import name reduce
On the other hand this worked fine:
>>> import functools
>>> functools.reduce
<built-in function reduce>
>>> from functools import reduce as _reduce
Any ideas?
Thank you,
Elke