Re: [Scikit-learn-general] ImportError: cannot import name DictVectorizer

2014-01-05 Thread Marco Ippolito
Hi Andy, thank you for your kind help. I disintalled scikit and installed it again: pip install -U scikit-learn Downloading/unpacking scikit-learn Downloading scikit-learn-0.14.1.tar.gz (6.8MB) Successfully installed scikit-learn Cleaning up... Now it seems working fine. Kind regards. Marco

Re: [Scikit-learn-general] ImportError: cannot import name DictVectorizer

2014-01-04 Thread Andy
Hi Marko. How did you install scikit-learn and which version did you install? I would imagine either your installation is incomplete or you have multiple installations. Cheers, Andy On 01/04/2014 06:00 PM, Marco Ippolito wrote: > Hi everybody, > > I'm learning now the basic functionalities of sc

[Scikit-learn-general] ImportError: cannot import name DictVectorizer

2014-01-04 Thread Marco Ippolito
Hi everybody, I'm learning now the basic functionalities of scikit-learn. Following: http://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.DictVectorizer.html#sklearn.feature_extraction.DictVectorizer import sklearn from sklearn.feature_extraction import DictVectorizer py

Re: [Scikit-learn-general] ImportError: cannot import sparse

2012-02-02 Thread Lars Buitinck
2012/2/2 Jacob VanderPlas : > File >  "/usr/local/lib/python2.6/dist-packages/scikit_learn-0.11_git-py2.6-linux-i686.egg/sklearn/svm/__init__.py", > line 15, in >    from . import sparse, libsvm, liblinear > ImportError: cannot import name sparse It looks suspicously similar to this issue: https:

Re: [Scikit-learn-general] ImportError: cannot import sparse

2012-02-02 Thread Andreas
On 02/02/2012 04:44 PM, Jacob VanderPlas wrote: > When I build the documentation with the current master, I get a string > of errors related to svm: > > File > > "/usr/local/lib/python2.6/dist-packages/scikit_learn-0.11_git-py2.6-linux-i686.egg/sklearn/svm/__init__.py", > line 15, in > from

[Scikit-learn-general] ImportError: cannot import sparse

2012-02-02 Thread Jacob VanderPlas
When I build the documentation with the current master, I get a string of errors related to svm: File "/usr/local/lib/python2.6/dist-packages/scikit_learn-0.11_git-py2.6-linux-i686.egg/sklearn/svm/__init__.py", line 15, in from . import sparse, libsvm, liblinear ImportError: cannot impor

Re: [Scikit-learn-general] ImportError

2011-10-08 Thread Vlad Niculae
Hello Could you please describe in detail how you installed scikit-learn? Thank you, Vlad On Sat, Oct 8, 2011 at 3:23 AM, Isaac Laughlin wrote: > I'm getting an ImportError after installation that reads: import sklearn > Traceback (most recent call last): >   File "", line 1, in >   File

[Scikit-learn-general] ImportError

2011-10-07 Thread Isaac Laughlin
I'm getting an ImportError after installation that reads: >>> import sklearn Traceback (most recent call last): File "", line 1, in File "sklearn/__init__.py", line 19, in raise ImportError("Please do not forget to run `make` first") ImportError: Please do not forget to run `make` first