python - Issue when building scikit-learn in windows 7 -


i've installed dependencies scikit learn. when run

python setup.py build  

or

python setup.py install 

commands following error.

c:/mingw/bin/../lib/gcc/mingw32/4.7.2/../../../../mingw32/bin/ld.exe: build\temp .win32-2.7\release\sklearn\ensemble\_gradient_boosting.o: bad reloc address 0x0 in section `.data' collect2.exe: error: ld returned 1 exit status error: command "g++ -shared build\temp.win32-.7\release\sklearn\ensemble\_gradie nt_boosting.o -lc:\python27\libs lc:\python27\pcbuild -lbuild\temp.win32-2.7 - lpython27 -lmsvcr90 -o build\lib.win32-2.7\sklearn\ensemble\_gradient_boosting.p yd" failed exit status 1 

what reason this? problem latest development version(i'm using latest master version github repository). how solve issue?

apparently not 1 having trouble building master under windows.

however afaik none of regular contributors scikit-learn use windows primary development platform, appreciate if windows expert fix build. opened issue track build problem here:

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


Comments