You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't try you example, it's not a minimal working example. But since you mentioned that Circle is not pickable, I tried that. And indeed it seems you cannot pickle Folium objects:
_pickle.PicklingError: Can't pickle <function do_first at 0x0000000001234567>:
it's not the same object as jinja2.filters.do_first
I guess you can produce your data using concurrency, but not create Folium objects concurrently. I don't know what to do about this.
Activity
Conengmo commentedon Dec 10, 2017
I didn't try you example, it's not a minimal working example. But since you mentioned that
Circleis not pickable, I tried that. And indeed it seems you cannot pickle Folium objects:I guess you can produce your data using concurrency, but not create Folium objects concurrently. I don't know what to do about this.
Conengmo commentedon Apr 21, 2018
Here is another resource on this topic:
https://stackoverflow.com/questions/8804830/python-multiprocessing-pickling-error
I think for now this is not something that needs to be fixed, if it's reasonably possible at all.
HADDADENICAR commentedon Jun 1, 2018
Hey @Conengmo i have the same problem but with spark what should i do ?
Conengmo commentedon Oct 12, 2018
I'm closing this old issue since we are not going to fix this. If new information comes up feel free to add it, we can reopen if needed.