ラズパイ3BにlightGBMを実装したいです
使用エッジ:ラズパイ3B 32bit
python3.7
lightGBM自体は64bit推奨という事を理解した上で、わけあって32bitに
インストールしようとしています。
諸々のアップグレードは行った上で以下の記述で実行しました。
###入力コマンド
pip3 install lightgbm --install-option = -bit32
エラーメッセージ
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. DEPRECATION: The -b/--build/--build-dir/--build-directory option is deprecated and has no effect anymore. pip 21.3 will remove support for this functionality. A possible replacement is use the TMPDIR/TEMP/TMP environment variable, possibly combined with --no-clean. You can find discussion regarding this at https://github.com/pypa/pip/issues/8333. /usr/local/lib/python3.7/dist-packages/pip/_internal/commands/install.py:229: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option. cmdoptions.check_install_build_global(options) Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting lightgbm Using cached lightgbm-3.2.1.tar.gz (1.5 MB) Requirement already satisfied: numpy in ./.local/lib/python3.7/site-packages (from lightgbm) (1.21.2) Requirement already satisfied: scikit-learn!=0.22.0 in ./.local/lib/python3.7/site-packages (from lightgbm) (0.24.2) Requirement already satisfied: scipy in ./.local/lib/python3.7/site-packages (from lightgbm) (1.7.1) Requirement already satisfied: wheel in /usr/lib/python3/dist-packages (from lightgbm) (0.32.3) Requirement already satisfied: joblib>=0.11 in ./.local/lib/python3.7/site-packages (from scikit-learn!=0.22.0->lightgbm) (1.0.1) Requirement already satisfied: threadpoolctl>=2.0.0 in ./.local/lib/python3.7/site-packages (from scikit-learn!=0.22.0->lightgbm) (2.2.0) Skipping wheel build for lightgbm, due to binaries being disabled for it. Installing collected packages: lightgbm Running setup.py install for lightgbm ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s0s5ro3u/lightgbm_026a8b71d26b48498222335ea0b2c613/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s0s5ro3u/lightgbm_026a8b71d26b48498222335ea0b2c613/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nsaf5cmx/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python3.7m/lightgbm = cwd: /tmp/pip-install-s0s5ro3u/lightgbm_026a8b71d26b48498222335ea0b2c613/ Complete output (1 lines): invalid command name '=' ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-s0s5ro3u/lightgbm_026a8b71d26b48498222335ea0b2c613/setup.py'"'"'; __file__='"'"'/tmp/pip-install-s0s5ro3u/lightgbm_026a8b71d26b48498222335ea0b2c613/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-nsaf5cmx/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/pi/.local/include/python3.7m/lightgbm = Check the logs for full command output.
どのように対処したら良いか、ご教授頂きたいです。
よろしくお願いします。
回答1件
あなたの回答
tips
プレビュー