-
Notifications
You must be signed in to change notification settings - Fork 409
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
joblib fails at import on Python3.8 #917
Comments
Is this issue fixed with PR #936? In my case I installed
Maybe that helps. |
scikit-learn 0.20 embeds an old joblib version and neither support Python 3.8. Use scikit-learn 0.22 and joblib 0.14 or later for Python 3.8 support. |
This fixed an error I was seeing: `TypeError: an integer is required (got type bytes)`, similar to this issue: joblib/joblib#917.
You just saved me a day full of headaches, thank you! |
@ogrisel thanks for the tip! |
I still face Issues with all the requirements satisfied. Traceback (most recent call last): |
To v0.22.* -- it was released in 2019. Also this joblib/joblib#917 (comment) Futher bump tested scikit-learn == 0.24.* -- it is old enough! The alternative would be to pin equally ancient scipy to avoid error: > AttributeError: 'str' object has no attribute 'decode'
To v0.22.* -- it was released in 2019. Also this joblib/joblib#917 (comment) Futher bump tested scikit-learn == 0.24.* -- it is old enough! The alternative would be to pin equally ancient scipy to avoid error: > AttributeError: 'str' object has no attribute 'decode'
The last joblib pypi releases only has
cloudpickle0.8
which is not compatible withpython3.8
. We should release a newjoblib
soon.Other errors due to old cloudpickle: #909
The text was updated successfully, but these errors were encountered: