[scikit-learn] Building Scikit Learn in Win 7 64bits
KevNo
brookm291 at gmail.com
Tue Aug 23 13:23:34 EDT 2016
Hello,
Thanks for yoru advice/reply.
I tried to build from VC after following Instructions of VS Python 2.7
compiler.
Steps ares:
|1) Git download
2) VC++ for Python: https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/#comment-515
3) Change thePath for compiler VStudio
4) in|!!cd D:\_devs\Python01\scikit_learn\sklearn (folder of sklearn)
|5) python setup.py build
|
I have this message:
|building'sklearn.__check_build._check_build' extension
compiling C sources
cl.exe/c/nologo/Ox /MD/W3/GS- /DNDEBUG-ID:\_devs\Python01\Anaconda2\lib\si
te-packages\numpy\core\include-ID:\_devs\Python01\Anaconda2\lib\site-packages\n
umpy\core\include-ID:\_devs\Python01\Anaconda2\include-ID:\_devs\Python01\Anac
onda2\PC/Tc_check_build.c/Fobuild\temp.win-amd64-2.7\Release\_check_build.obj
Found executable C:\Users\asus1\AppData\Local\Programs\Common\Microsoft\Visual C
++ for Python\9.0\VC\Bin\amd64\cl.exe
_check_build.c
c1: fatal error C1083: Cannot open source file: '_check_build.c': No such file
or directory|
I dont have any idea where it could come from
Thanks
Brook
> scikit-learn-request at python.org <mailto:scikit-learn-request at python.org>
> Tuesday, August 23, 2016 1:00 AM
> Send scikit-learn mailing list submissions to
> scikit-learn at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.python.org/mailman/listinfo/scikit-learn
> or, via email, send a message with subject or body 'help' to
> scikit-learn-request at python.org
>
> You can reach the person managing the list at
> scikit-learn-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of scikit-learn digest..."
>
>
> Today's Topics:
>
> 1. Re: Building Scikit Learn in Win 7 64bits (Olivier Grisel)
> 2. Re: Building Scikit Learn in Win 7 64bits (Joel Nothman)
> 3. Re: 0.18? (Olivier Grisel)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 22 Aug 2016 11:43:21 +0200
> From: Olivier Grisel <olivier.grisel at ensta.org>
> To: Scikit-learn user and developer mailing list
> <scikit-learn at python.org>
> Subject: Re: [scikit-learn] Building Scikit Learn in Win 7 64bits
> Message-ID:
> <CAFvE7K6SdMjQ8LM9-RamxhKZNx0gsemoAGVUzr8tYAmSMGgjgw at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> The error message mentions gcc. Have you installed some mingw version?
>
> As of now our windows build is only properly tested with the Visual
> Studio C++ compiler from appveyor:
>
> https://ci.appveyor.com/project/sklearn-ci/scikit-learn
>
> I have not tested the build with mingwpy in a while (I am not a
> windows user my-self).
>
> The file not found error makes me think that you might need to cd into
> the scikit-learn source folder:
>
> !!cd D:\_devs\Python01\scikit_learn\sklearn
> !!python setup.py build_ext --inplace
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160824/e2a57751/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160824/e2a57751/attachment-0001.jpg>
More information about the scikit-learn
mailing list