scikit-learn/scikit-learn — Issue #397: "ImportError: No module named supervised" when trying to import sklearn in python3
Author: aksarkar
Created: 2011-10-17 14:54:47+00:00
State: open

>>> import sklearn
Traceback (most recent call last):
File "", line 1, in
File "/home/unix/aksarkar/.local/lib/python3.1/site-packages/scikit_learn-0.10_git-py3.1-linux-x86_64.egg/sklearn/__init__.py", line 32, in
from .base import clone
File "/home/unix/aksarkar/.local/lib/python3.1/site-packages/scikit_learn-0.10_git-py3.1-linux-x86_64.egg/sklearn/base.py", line 11, in
from .metrics import r2_score
File "/home/unix/aksarkar/.local/lib/python3.1/site-packages/scikit_learn-0.10_git-py3.1-linux-x86_64.egg/sklearn/metrics/__init__.py", line 12, in
from . import cluster
File "/home/unix/aksarkar/.local/lib/python3.1/site-packages/scikit_learn-0.10_git-py3.1-linux-x86_64.egg/sklearn/metrics/cluster/__init__.py", line 8, in
from supervised import (homogeneity_completeness_v_measure,
ImportError: No module named supervised

My configuration:
python 3.1.2
numpy revision 1dc1877
scipy revision 37d1c4b
scikit-learn revision fe4c258