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 2014/1/4 Andy <t3k...@gmail.com>: > 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 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 >> >> python dictvectorizerTrial.py >> Traceback (most recent call last): >> File "dictvectorizerTrial.py", line 4, in <module> >> from sklearn.feature_extraction import DictVectorizer >> ImportError: cannot import name DictVectorizer >> >> What am I missing? >> >> Kind regards. >> Marco >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Scikit-learn-general mailing list >> Scikit-learn-general@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Scikit-learn-general mailing list > Scikit-learn-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general