[Bug 261028] science/py-scikit-learn: Missing dependency threadpoolctl
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 08 Jan 2022 08:17:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261028 Bug ID: 261028 Summary: science/py-scikit-learn: Missing dependency threadpoolctl Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: wen@FreeBSD.org Reporter: yuri@freebsd.org Flags: maintainer-feedback?(wen@FreeBSD.org) Assignee: wen@FreeBSD.org py38-scikit-learn-1.0.2 installs the file > /usr/local/lib/python3.8/site-packages/sklearn/utils/fixes.py that contains > import threadpoolctl that isn't resolved through dependencies. This causes py38-nilearn-0.8.1 to break: > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "setup.py", line 65, in <module> > module_check_fn(is_nilearn_installing=True) > File "<string>", line 124, in _check_module_dependencies > File "<string>", line 73, in _import_module_with_version_check > File "/usr/local/lib/python3.8/site-packages/sklearn/__init__.py", line 82, in <module> > from .base import clone > File "/usr/local/lib/python3.8/site-packages/sklearn/base.py", line 17, in <module> > from .utils import _IS_32BIT > File "/usr/local/lib/python3.8/site-packages/sklearn/utils/__init__.py", line 28, in <module> > from .fixes import np_version, parse_version > File "/usr/local/lib/python3.8/site-packages/sklearn/utils/fixes.py", line 22, in <module> > import threadpoolctl > ModuleNotFoundError: No module named 'threadpoolctl'. Module "sklearn" could not be found. See http://nilearn.github.io/introduction.html#installation for installation information. > *** Error code 1 -- You are receiving this mail because: You are the assignee for the bug.