2014-09-23 6:38 GMT+02:00 c TAKES <[email protected]>:
> Thanks!  What should be the proper behavior when I run the script I wrote?
>
> I tried uninstalling and reinstalling from pip, but no success (same error),
> so I assume I have to build to get the bleeding edge update.
>
> Probably serves me right for using Windows, but I've been having trouble
> building scikit-learn from the source code.  I followed all the steps here
> to build on windows, including installing the sdk 7.0 (already had 7.1, and
> I'm using Python 2):
>
> http://scikit-learn.org/stable/install.html#id1
>
> but get the following error:
>
> Building msvcr library: "C:\**HIDEUSERPATH**\Anaconda\libs\libmsvcr90d.a"
> (from
> :\Windows\winsxs\amd64_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_4ec74c6b3093419c\msvcr90d.dll)
> error: The system cannot find the file specified

The build instructions on scikit-learn.org are only valid for a python
installed from the official python.org website which is build with
MSVC.

Apparently Anaconda is built with its own embedded version of the
MinGW compiler. I don't think that a scikit-learn binary built with
MSVC can be used within the anaconda distribution.

For building packages on an Anaconda distribution I think one is
supposed to use the `conda pipbuild` command but I do not have much
experience with that.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to