[scikit-learn] Building Scikit Learn in Win 7 64bits

KevNo brookm291 at gmail.com
Sun Aug 21 05:33:35 EDT 2016


Hi,

I follow the instructions here:
to compile  Scikit-learn for development

https://github.com/scikit-learn/scikit-learn/issues/5709

1) Download from Git into a repository scikit_learn
2) Add the path to Python Path
3) In IPython
!!python D:\_devs\Python01\scikit_learn\sklearn\setup.py build_ext 
--inplace

and I got this message:

|Assuming default configuration (scikit_learn\\sklearn\\svm\\tests/{setup_tests,setup}.py was not found)D:\\\\_devs\\\\Python01\\\\scikit_learn\\\\sklearn\\\\setup.py:71: UserWarning: ',
  '    Blas (http://www.netlib.org/blas/) libraries not found.',
  '    Directories to search for the libraries can be specified in the',
  '    numpy/distutils/site.cfg file (section [blas]) or by setting',
  '    the BLAS environment variable.',
  '  warnings.warn(BlasNotFoundError.__doc__)',
  'Warning: Assuming default configuration (scikit_learn\\sklearn\\linear_model\\tests/{setup_tests,setup}.py was not found)Warning: Assuming default configuration (scikit_learn\\sklearn\\utils\\sparsetools\\tests/{setup_tests,setup}.py was not found)Warning: Assuming default configuration (scikit_learn\\sklearn\\utils\\tests/{setup_tests,setup}.py was not found)Warning: Assuming default configuration (scikit_learn\\sklearn\\tests/{setup_tests,setup}.py was not found)gcc.exe: error: _check_build.c: No such file or directory',
  'gcc.exe: fatal error: no input files',
  'compilation terminated.',
  'error: Command "gcc -m64 -g -DNDEBUG -DMS_WIN64 -O2 -Wall -Wstrict-prototypes -D__MSVCRT_VERSION__=0x0900 -ID:\\_devs\\Python01\\WinPython-64-2710\\python-2.7.10.amd64\\lib\\site-packages\\numpy\\core\\include -ID:\\_devs\\Python01\\WinPython-64-2710\\python-2.7.10.amd64\\lib\\site-packages\\numpy\\core\\include -ID:\\_devs\\Python01\\WinPython-64-2710\\python-2.7.10.amd64\\include -ID:\\_devs\\Python01\\WinPython-64-2710\\python-2.7.10.amd64\\PC -c _check_build.c -o build\\temp.win-amd64-2.7\\Release\\_check_build.o" failed with exit status 1']|



Environnment
WinPython 2.7 64bits
Windows-7-6.1.7601-SP1
('Python', '2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit 
(AMD64)]')
('NumPy', '1.9.2')
('SciPy', '0.16.0' )


Just wondering if possible to get a place where we can compile without 
spending hours and days on the web
to find the issues ?


Thanks
Brook














-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20160821/d1a1ffb2/attachment.html>


More information about the scikit-learn mailing list