LightGBMをインストールするには、https://github.com/Microsoft/LightGBM/wiki/Installation-Guideのインストールガイドに従っています。 MinGWシェルでは、git repoをダウンロードして、cdをビルドディレクトリに置くことができます。LightGBのインストールに関する問題 - Python
cmake -G "MinGW Makefiles" ..
私は次のエラーを取得する:私は、次のコマンドを実行してくださいしようとすると
CMake Error at C:/Program Files/CMake/share/cmake-
3.9/Modules/CMakeMinGWFindMake.cmake:12 (message):
sh.exe was found in your PATH, here:
C:/Program Files/Git/usr/bin/sh.exe
For MinGW make to work correctly sh.exe must NOT be in your path.
Run cmake from a shell that does not have sh.exe in your PATH.
If you want to use a UNIX shell, then use MSYS Makefiles.
Call Stack (most recent call first):
CMakeLists.txt:8 (PROJECT)
CMake Error: CMake was unable to find a build program corresponding to
"MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to
select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "
MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to
select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
は、私も自分の道からsh.exeを削除しようと試みました。
誰でも私に可能な解決策を教えてもらえますか?私は間違ってcmakeをインストールしたと思いますか?
を解決しました。あなたは完全なMinGWを持っていますか、またはGitに付属しているものだけですか? – yorodm
Gitに付属のものがあると思う... https://git-scm.com/downloads –
[インストールガイド](https://github.com/Microsoft/LightGBM/wiki/Installation) -Guide)彼らはMinGW64を求めてインストールし、その環境を使って – yorodm