On 01/05/2012 10:45 PM, Fabian Pedregosa wrote: > On Thu, Jan 5, 2012 at 11:47 AM, Andreas<amuel...@ais.uni-bonn.de> > wrote: >> On 01/05/2012 07:37 AM, Gael Varoquaux wrote: >>> On Wed, Jan 04, 2012 at 03:38:41PM -0800, Jacob VanderPlas wrote: >>> >>>> Importing sklearn from within the scikit-learn source directory >>>> produces >>>> no such error. Perhaps this would be a good fix >>>> > Importing sklearn from it's directory it's perfectly legitimate and I > find it convenient, it allows to import sklearn without installing or > modifying the PYTHONPATH. I consider the scipy's behaviour to be quite > annoying. > > I wouldn't mind too much to raise something if sklearn.test() is run > from the build directory, although it is documented in the README, > Testing section. Also, running sklearn.test() used to work as long as > you don't have multiple versions of sklearn installed, and that was > quite convenient for testing on systems on which nosetest fails > (windows).
I think I misunderstood what the fix is doing. I totally agree with Fabian. Maybe that wasn't clear from my earlier mails but this is the only place I have sklearn and I want to keep it that way! As I said, I don't have multiple versions and the only thing that fails is sklearn.test(). I don't want to be warned when I import from the source dir. I want the test to work in the source dir - and if that is not possible, it should raise an error. A warning when running the test will not be visible as there are so many warnings and errors showing up. Also, as I said in the PR, the PR didn't fix my issue ;) ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general