hey andy,
can you do make test-code in your sklearn directory? that builds and runs
tests inplace. however, this is different from loading the module and doing
sk.test(). perhaps this can be clarified.
cheers,
satra
On Wed, Jan 4, 2012 at 4:49 PM, Andreas <amuel...@ais.uni-bonn.de> wrote:
> **
> On 01/04/2012 10:39 PM, Robert Layton wrote:
>
> On 5 January 2012 08:36, Andreas <amuel...@ais.uni-bonn.de> wrote:
>
>> Hi everybody.
>> Today I could finally reproduce a weird behavior of sklearn.test() that
>> I observed
>> at the sprint.
>> If you do import sklearn; sklearn.test()
>> in IPython in the folder that contains sklearn (for me the scikit-learn
>> folder
>> I checked out), it gives tons of error messages.
>> If I do the same in any other folder, I don't get these.
>> Can any one reproduce that?
>> And has anyone an idea why this is happening?
>>
>> Cheers,
>> Andy
>>
>>
>
> If it's the error I think it is -- you can't run test from within the
> sklearn directory.
> I believe this is because it will be taking code from the current dir
> first before using the install sklearn.
> Moving to another directly solves this, as you found out.
>
> I also believe this issue is due to the part of scikits.learn that need to
> be compiled -- i.e. cython, etc.
>
> Hope that helps,
>
> Robert
>
> Thanks Robert.
>
> What I find weird is that this is not really from "inside" sklearn but it
> is from the very
> same path that is in my PYTHONPATH.
> I think this is a bit of an issue, since a new user might install using
> ``make``
> and then run the tests (in the same place they did make)... and see loads
> of errors.
> Hm, I just noticed that the docs say that I shouldn't be doing what I'm
> doing.
>
> Well that is good then ;)
>
> Still it confuses me.
>
>
> Cheers,
> Andy
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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