Xgboost: XGBoost Windows-Installationsfehler

Erstellt am 5. Apr. 2016  ·  4Kommentare  ·  Quelle: dmlc/xgboost

Hi,

Ich verwende Windows 7, versuche, XGBoost für Python zu installieren.
Dazu verwende ich GIT Bash.
Ich habe die Schritte auf der folgenden Seite befolgt-
https://github.com/dmlc/xgboost/blob/master/doc/build.md#building -on-windows
Ich habe die folgende Make-Version in MinGW-
mingw32-make bin 3.82.90-2-cvs-20120902
mingw32-make doc 3.82.90-2-cvs-20120902
mingw32-make lang 3.82.90-2-cvs-20120902
mingw32-make lic 3.82.90-2-cvs-20120902
und die folgende g++-Version-
mingw32-gcc-g++ bin 4.9.3-1
mingw32-gcc-g++ dev 4.8.1-4
mingw32-gcc-g++ doc 4.8.1-4
mingw32-gcc-g++ man 4.9.3-1

Beim Ausführen der folgenden Befehle-
cp make/mingw64.mk config.mk; make -j4
Ich erhalte die folgende Fehlermeldung für den zweiten Befehl-
$ make -j4 g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT build/learner.o src/learner.cc >build/learner.d g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT build/logging.o src/logging.cc >build/logging.d g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT build/common/common.o src/common/common.cc >build/common/common.d g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT build/c_api/c_api_error.o src/c_api/c_api_error.cc >build/c_api/c_api_error.d cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in Makefile:97: recipe for target 'build/common/common.o' failed mingw32-make: *** [build/common/common.o] Error 1 mingw32-make: *** Waiting for unfinished jobs.... cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in Makefile:97: recipe for target 'build/c_api/c_api_error.o' failed mingw32-make: *** [build/c_api/c_api_error.o] Error 1 cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in cc1plus.exe: sorry, unimplemented: 64-bit mode not compiled in Makefile:97: recipe for target 'build/logging.o' failed mingw32-make: *** [build/logging.o] Error 1 Makefile:97: recipe for target 'build/learner.o' failed mingw32-make: *** [build/learner.o] Error 1
Bitte helfen Sie mir, die Lösung für dieses Problem zu finden. Ich komme an diesem Problem anscheinend nicht vorbei......!

Hilfreichster Kommentar

Endlich arbeiten!!
Im Folgenden finden Sie eine sehr hilfreiche Ressource -
http://stackoverflow.com/questions/33749735/how-to-install-xgboost-package-in-python-windows-platform

Folgen Sie ihm bis zu jedem Bindestrich

Alle 4 Kommentare

Die neueste Version konnte ich auch nicht installieren. hoffe jemand kann mir weiterhelfen. Im Moment verwende ich die Version 0.40. Wenn jemand Hilfe bei der Installation dieser Version benötigt, helfe ich gerne.

@uasthana15 Sie verwenden mingw32, bitte verwenden Sie mingw64.

@thirdwing können Sie bitte näher darauf eingehen, dass ich dachte, ich würde mingw64 verwenden, das ist das, was in meinem Bash-Fenster steht, und könnten Sie bitte einen Link zur Installation bereitstellen.

@SoulEvill danke jede Hilfe wird sehr geschätzt, bitte lassen Sie mich wissen, wo ich anfangen kann.

Endlich arbeiten!!
Im Folgenden finden Sie eine sehr hilfreiche Ressource -
http://stackoverflow.com/questions/33749735/how-to-install-xgboost-package-in-python-windows-platform

Folgen Sie ihm bis zu jedem Bindestrich

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen