Skip to content

Instantly share code, notes, and snippets.

@blinsay
Created April 6, 2012 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blinsay/2322380 to your computer and use it in GitHub Desktop.
Save blinsay/2322380 to your computer and use it in GitHub Desktop.
pycascading import error
$ ../local_run.sh word_count.py
*** this cp: ['/Users/benl/Projects/python/pycascading/python/pycascading', '/Users/benl/Projects/python/pycascading/python', '/usr/local/Cellar/jython/2.5.2/libexec/Lib', '__classpath__', '__pyclasspath__/', '/usr/local/Cellar/jython/2.5.2/libexec/Lib/site-packages', u'/usr/local/cascading-2.0.0-wip-262-hadoop-0.20.2+/cascading-core-2.0.0-wip-262.jar', u'/usr/local/cascading-2.0.0-wip-262-hadoop-0.20.2+/cascading-hadoop-2.0.0-wip-262.jar', '.', u'/usr/local', u'/usr/local/python', u'/usr/local/python/Lib']
Traceback (most recent call last):
File "../python/pycascading/bootstrap.py", line 83, in <module>
m = imp.load_source('main', sys.argv[2])
File "word_count.py", line 22, in <module>
from pycascading.helpers import *
File "/Users/benl/Projects/python/pycascading/python/pycascading/helpers.py", line 32, in <module>
from pycascading.decorators import *
File "/Users/benl/Projects/python/pycascading/python/pycascading/decorators.py", line 57, in <module>
from pycascading.pipe import DecoratedFunction
File "/Users/benl/Projects/python/pycascading/python/pycascading/pipe.py", line 39, in <module>
import cascading.pipe.cogroup
ImportError: No module named cogroup
@gaborszabo
Copy link

You're using cascading 2.0, which splits the cascading jars into separate files, and the master branch is not meant to work with it. There's a separate branch, casc2 for cascading 2.0.

@blinsay
Copy link
Author

blinsay commented Apr 6, 2012

I'm definitely on the casc2 branch for this.

$ git status
# On branch casc2
nothing to commit (working directory clean)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment