-
Notifications
You must be signed in to change notification settings - Fork 3
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
Unsupported pickle protocol: 5 #27
Comments
I've been hitting this myself while testing. It's a Python 3.7 vs. 3.8 compatibility problem in Related Dask issue, where it looks like they concluded that there wasn't an easy fix on their side and you just need to make sure not to cross the protocol boundary: dask/dask#6007 On our end, since we're sitting right at this boundary, this is probably worth adding a note in the docs. Maybe a good candidate for the first entry in a "troubleshooting" page? |
Nevermind, I'll leave the Python 3.8 requirement out; it would require documenting the creation of a virtual env; however, #25 already does that. |
Why not raise an error if Python <3.8 is installed? Or use Dask's ability to version check? |
We can't guarantee that users can use Python >=3.8 for the rest of their code (unlikely, but possible). Dask itself seems unwilling to add a hard incompatibility check for this, so I'd prefer to follow their lead and let the error happen. One thing I have been a little confused about is that sometimes I get the version mismatch text from Dask when starting workers, but sometimes I don't. Haven't looked into that. |
I am following Dask's HyperbandSearchCV example verbatim (each cell is copy/pasted into my notebook).
When I get to the line that does the computation,
search.fit(X, y, classes=[0, 1, 2, 3]
, I get this error:Full traceback, printed in notebook
I don't see any error messages on the Jupyter output stream in the terminal.
This is on Python 3.7.7:
The relevant portion of
history
:The text was updated successfully, but these errors were encountered: