0
我已经安装了Scikit学习的所有依赖项。但是,当我运行在Windows 7中构建scikit-learn时出现的问题
python setup.py build
或
python setup.py install
命令我碰到下面的错误。
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 with exit status 1
这是什么原因?这是最新的开发版本的问题(我使用的是github仓库的最新版本)。 我该如何解决这个问题?
已经安装BLAS如MKL或者你的机器上OpenBLAS的自定义实现? – ogrisel