Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56062 - [python-scikit-learn] PLEASE ENTER SUMMARY

Attached to Project: Community Packages
Opened by Srikanth Anantharam (sria91) - Saturday, 21 October 2017, 04:23 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 22 October 2017, 02:36 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Package is broken without `joblib` https://pypi.python.org/pypi/joblib

Additional info:
* package version(s): 0.19.0-1
* config and/or log files etc.: N/A

Steps to reproduce:
$ python
Python 3.6.2 (default, Jul 20 2017, 03:52:27)
[GCC 7.1.1 20170630] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sklearn.externals import joblib
>>> joblib.load('filename.pkl')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 578, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "/usr/lib/python3.6/site-packages/sklearn/externals/joblib/numpy_pickle.py", line 508, in _unpickle
obj = unpickler.load()
File "/usr/lib64/python3.6/pickle.py", line 1050, in load
dispatch[key[0]](self)
File "/usr/lib64/python3.6/pickle.py", line 1338, in load_global
klass = self.find_class(module, name)
File "/usr/lib64/python3.6/pickle.py", line 1388, in find_class
__import__(module, level=0)
ModuleNotFoundError: No module named 'joblib'
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Sunday, 22 October 2017, 02:36 GMT
Reason for closing:  Not a bug
Additional comments about closing:  scikit itself works fine. Trying to load a pickle that uses a different import path will obviously not work, but that is a dependency of your pickle...

Loading...