GitHub - ishahak/buildroot_scanpypi3 根据该网站提示,用scanpypi安装pytorch软件包 编译时报错: 2023-02-02T01:38:05 package/Config.in:735:warning: multi-line strings not supported 2023-02-02T01:38:05 >>> python-pytorch 1.0.2 Installing to target 2023-02-02T01:38:05 (cd /home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/build/python-pytorch-1.0.2//; PATH="/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/host/bin:/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/host/sbin:/home/jiangzhaowei/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" CC="/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/host/bin/arm-linux-gnueabihf-gcc" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -DUSE_UPDATEENGINE=ON -DSUCCESSFUL_BOOT=ON" LDFLAGS="" LDSHARED="/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/host/bin/arm-linux-gnueabihf-gcc -shared" PYTHONPATH="/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/python3.8/" PYTHONNOUSERSITE=1 _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata__linux_arm-linux-gnueabihf" _python_sysroot=/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/host/arm-buildroot-linux-gnueabihf/sysroot _python_prefix=/usr _python_exec_prefix=/usr /home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/host/bin/python setup.py install --no-compile --prefix=/usr --root=/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/target ) 2023-02-02T01:38:05 Traceback (most recent call last): 2023-02-02T01:38:05 File "setup.py", line 11, in <module> 2023-02-02T01:38:05 raise Exception(message) 2023-02-02T01:38:05 Exception: You tried to install "pytorch". The package named for PyTorch is "torch" 2023-02-02T01:38:05 package/pkg-generic.mk:310: recipe for target '/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/build/python-pytorch-1.0.2/.stamp_target_installed' failed 2023-02-02T01:38:05 make[1]: *** [/home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/build/python-pytorch-1.0.2/.stamp_target_installed] Error 1 2023-02-02T01:38:05 /home/jiangzhaowei/work/rv1126jd4_linux/buildroot/output/firefly_rv1126_rv1109/Makefile:16: recipe for target '_all' failed 2023-02-02T01:38:05 make: *** [_all] Error 2 Command exited with non-zero status 1 you take 0:11.69 to build builroot ERROR: Running build_buildroot failed! ERROR: exit code 1 from line 742: /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG 请问一下,buildroot怎样添加Python软件包?该方法是否正确? |
-
19.82 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1