Closed tonycombocurve closed 2 years ago
I created a software environment that includes dask-mongo and that eliminated the exception I listed above.
Hey @tonycombocurve -- glad you got it figured out. As you saw, your intuition was correct and your workers (via package_sync
or a software environment, need to have the same libraries installed as your local/client environment.
Let us know if you have any other questions.
I am seeing the following exception when using the dask-mongo package in my code. I can use the pymongo client directly to query the collection so I know my arguments for read_mongo are correct. When I call take(1) on the bag returned I get the following exception:
I am wondering if my workers need a software environment that includes dask-mongo. Any ideas as to what might be happening?
Thanks in advance for your help!
-Tony