On Mon, Oct 3, 2016 at 1:20 AM, Kamaraju Kusumanchi <kamar...@gmail.com> wrote:
> Package: python3-sklearn
> Version: 0.17.1-2
> Severity: normal
>
> Dear Maintainer,
>
> I am getting errors while trying to import sklearn package or any datasets
> within it. For example
>

The problem went away when I upgraded the python3-decorator package
from 3.4.0-2 to 4.0.6-1. Now the following import commands work fine.

 % python3
Python 3.5.2+ (default, Sep 22 2016, 12:18:14)
[GCC 6.2.0 20160914] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sklearn.datasets import load_boston
>>> import sklearn

For posterity, below are the package versions on my system .

 % dpkg -l python3-sklearn python3-joblib python3-numpy python3-scipy
python3-sklearn-lib  python3-matplotlib python3-nose ipython3
python-sklearn-doc python3-dap
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version
Architecture             Description
+++-======================================-========================-========================-==================================================================================
ii  ipython3                               5.1.0-1
all                      Enhanced interactive Python 3 shell
un  python-sklearn-doc                     <none>
<none>                   (no description available)
un  python3-dap                            <none>
<none>                   (no description available)
ii  python3-joblib                         0.9.4-1
all                      tools to provide lightweight pipelining in
Python
ii  python3-matplotlib                     1.5.3-1
amd64                    Python based plotting system in a style
similar to Matlab (Python 3)
ii  python3-nose                           1.3.4-1
all                      test discovery and running for Python3
unittest
ii  python3-numpy                          1:1.11.2~rc1-1
amd64                    Fast array facility to the Python 3 language
ii  python3-scipy                          0.18.0-1
amd64                    scientific tools for Python 3
ii  python3-sklearn                        0.18-3
all                      Python modules for machine learning and data
mining
ii  python3-sklearn-lib                    0.18-3
amd64                    low-level implementations and bindings for
scikit-learn - Python 3


I will leave it to the package maintainer as to whether to close this
bug or to tighten the dependencies a bit.

thanks
raju
-- 
Kamaraju S. Kusumanchi
http://raju.shoutwiki.com/wiki/Blog

Reply via email to