Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named '_pandasujson' #106

Open
ahmadia opened this issue Jul 9, 2017 · 2 comments
Open

ImportError: No module named '_pandasujson' #106

ahmadia opened this issue Jul 9, 2017 · 2 comments

Comments

@ahmadia
Copy link

ahmadia commented Jul 9, 2017

As I mentioned in #80, a change introduced after 0.2.2 breaks a previously working serialized function call that relied on importing pandas. My suspicion is that serialization of functions that utilize pandas may be broken in recent versions of cloudpickle.

Full backtrace from Dask/prep.py:

Traceback (most recent call last):
  File "prep.py", line 64, in <module>
    dask.compute(values)
  File "/Users/aron/anaconda3/envs/parallel/lib/python3.5/site-packages/dask/base.py", line 204, in compute
    results = get(dsk, keys, **kwargs)
  File "/Users/aron/anaconda3/envs/parallel/lib/python3.5/site-packages/dask/multiprocessing.py", line 177, in get
    raise_exception=reraise, **kwargs)
  File "/Users/aron/anaconda3/envs/parallel/lib/python3.5/site-packages/dask/local.py", line 521, in get_async
    raise_exception(exc, tb)
  File "/Users/aron/anaconda3/envs/parallel/lib/python3.5/site-packages/dask/compatibility.py", line 59, in reraise
    raise exc.with_traceback(tb)
  File "/Users/aron/anaconda3/envs/parallel/lib/python3.5/site-packages/dask/local.py", line 289, in execute_task
    task, data = loads(task_info)
  File "/Users/aron/anaconda3/envs/parallel/lib/python3.5/site-packages/cloudpickle/cloudpickle.py", line 840, in subimport
    __import__(name)
ImportError: No module named '_pandasujson'
@ahmadia
Copy link
Author

ahmadia commented Jul 9, 2017

Let me know if I can help dig further into this!

@pierreglaser
Copy link
Member

It's been a while now, but does the error still appear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants