13 33.18 DEPRECATION: lz4a is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
13 33.18 Running setup.py install for lz4a: started
13 33.49 Running setup.py install for lz4a: finished with status 'error'
13 33.50 error: subprocess-exited-with-error
13 33.50
13 33.50 × Running setup.py install for lz4a did not run successfully.
如下:
13 33.18 DEPRECATION: lz4a is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
13 33.18 Running setup.py install for lz4a: started
13 33.49 Running setup.py install for lz4a: finished with status 'error'
13 33.50 error: subprocess-exited-with-error
13 33.50
13 33.50 × Running setup.py install for lz4a did not run successfully.
13 33.50 │ exit code: 1
13 33.50 ╰─> [10 lines of output]
13 33.50 running install
13 33.50 running build
13 33.50 running build_ext
13 33.50 building 'lz4' extension
13 33.50 creating build
13 33.50 creating build/temp.linux-x86_64-3.8
13 33.50 creating build/temp.linux-x86_64-3.8/src
13 33.50 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -fomit-frame-pointer -g -fno-semantic-interposition -DTHREAD_STACK_SIZE=0x100000 -fPIC -I/usr/include/python3.8 -c src/lz4.c -o build/temp.linux-x86_64-3.8/src/lz4.o -std=c99 -O3 -Wall -W -Wundef -DVERSION="0.7.0" -DLZ4_VERSION="r119"
13 33.50 unable to execute 'gcc': No such file or directory
13 33.50 error: command 'gcc' failed with exit status 1
13 33.50 [end of output]
13 33.50
13 33.50 note: This error originates from a subprocess, and is likely not a problem with pip.
13 33.51 error: legacy-install-failure
13 33.51
13 33.51 × Encountered error while trying to install package.
13 33.51 ╰─> lz4a
13 33.51
13 33.51 note: This is an issue with the package mentioned above, not pip.
13 33.51 hint: See above for output from the failure.
executor failed running [/bin/sh -c pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple && pip config set global.trusted-host mirrors.cloud.tencent.com && pip install --upgrade pip && pip install --user -r requirements.txt]: exit code: 1 ERROR: Service 'app' failed to build : Build failed