Re: [gc3pie] ImportError: cannot import name reduce

2017-02-10 Thread Henrik Madsen
You are right, my problem is not related to GC3Pie.

It's just that I have the same problem as OP with regards to using 
functools, so I guess the solution is the same for me as it was for him :-)

I'll ask over in the Anaconda forum


Den fredag den 10. februar 2017 kl. 10.15.36 UTC+1 skrev Riccardo Murri:
>
> Hello Henrik, 
>
> unless yours is a problem with GC3Pie specifically (unlikely, since 
> you mention you just started with Python), this is probably the wrong 
> forum to ask: no one of us uses Windows so I doubt you can get any 
> useful suggestions here. 
>
> For this kind of generic Python questions, you might be better off 
> asking the makers of Anaconda: https://www.continuum.io/support 
>
> Ciao, 
> R 
>

-- 
You received this message because you are subscribed to the Google Groups 
"gc3pie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gc3pie+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gc3pie] ImportError: cannot import name reduce

2017-02-10 Thread Riccardo Murri
Hello Henrik,

unless yours is a problem with GC3Pie specifically (unlikely, since
you mention you just started with Python), this is probably the wrong
forum to ask: no one of us uses Windows so I doubt you can get any
useful suggestions here.

For this kind of generic Python questions, you might be better off
asking the makers of Anaconda: https://www.continuum.io/support

Ciao,
R

-- 
You received this message because you are subscribed to the Google Groups 
"gc3pie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gc3pie+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [gc3pie] ImportError: cannot import name reduce

2017-02-10 Thread Henrik Madsen
Hi

Sorry to dig up this old thread, but I have the exact same problem, and I 
have no idea how to fix it?

Just started Python this week. Used anaconda 4.3.0 (Python 3.6.0).

I can't find any functools.py / .pyc / .pyo on my windows 10 machine.

SVN is not recognized...

I don't have functools in my Conda or PIP list, so can't really uninstall it

Hope you guys can help

Den mandag den 16. marts 2015 kl. 22.06.08 UTC+1 skrev Elke Schaper:
>
>
> Hi Riccardo,
>
> Hi Elke,
>
>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 
>from functools import reduce as _reduce
> ImportError: cannot import name reduce
>
>
> The `functools.py` file was removed from GC3Pie recently; you likely
> have still a stale `functools.pyc` or `functools.pyo` lying around in
> your SVN working copy.  Please remove it, and try again.
>
>
> Great, a legacy copy of functools.py was indeed the problem.
>
> I hadn’t been aware that *svn up* would not locally delete files that had 
> been deleted in the main repo 
> 
> . 
> Thus now I deleted my copy of gc3pie and checked everything out from 
> scratch - I’m sure there are more elegant solutions :)
>
> Reinstallation then worked fine.
>
>
> Thanks!
>
> Elke
>

-- 
You received this message because you are subscribed to the Google Groups 
"gc3pie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gc3pie+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.