Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528804 - sci-libs/scikits_learn-0.15.1 should depend on dev-python/nose
Summary: sci-libs/scikits_learn-0.15.1 should depend on dev-python/nose
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-10 11:49 UTC by Mike Auty (RETIRED)
Modified: 2014-11-14 21:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty (RETIRED) gentoo-dev 2014-11-10 11:49:22 UTC
Hiya,

When using clustering in scikits_learn, after upgrading to 0.15.1 I got the following error when doing a simple import:

>>> import sklearn.cluster
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/sklearn/cluster/__init__.py", line 6, in <module>
    from .spectral import spectral_clustering, SpectralClustering
  File "/usr/lib64/python2.7/site-packages/sklearn/cluster/spectral.py", line 13, in <module>
    from ..utils import check_random_state, as_float_array
  File "/usr/lib64/python2.7/site-packages/sklearn/utils/__init__.py", line 11, in <module>
    from .validation import (as_float_array, check_arrays, safe_asarray,
  File "/usr/lib64/python2.7/site-packages/sklearn/utils/validation.py", line 17, in <module>
    from .fixes import safe_copy
  File "/usr/lib64/python2.7/site-packages/sklearn/utils/fixes.py", line 18, in <module>
    from .testing import ignore_warnings
  File "/usr/lib64/python2.7/site-packages/sklearn/utils/testing.py", line 36, in <module>
    from nose.tools import assert_equal
ImportError: No module named nose.tools

emerging dev-python/nose solves the problem.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-11-14 21:58:12 UTC
Just fixed it, thanks for the report.