SLM-Lab
SLM-Lab copied to clipboard
Docker build failed
Describe the bug Dockerfile build fails
To Reproduce
- OS and environment: Windows Version 10.0.19045 Build 19045
- Docker v24.0.2
Error logs
#0 509.4 self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
#0 509.4 File "/root/miniconda3/envs/lab/lib/python3.7/site-packages/setuptools/_distutils/unixccompiler.py", line 188, in _compile
#0 509.4 raise CompileError(msg)
#0 509.4 distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
#0 509.4
#0 509.4 ----------------------------------------
#0 509.4 ERROR: Command "/root/miniconda3/envs/lab/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-yjesesuc/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-wk6rwzb9/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-yjesesuc/grpcio/
#0 509.4
#0 509.4
#0 509.4 CondaEnvException: Pip failed
#0 509.4
------
Hi @Biggestmeme I received the same error. Were you able to successfully resolve the issue?
Hi @Biggestmeme I received the same error. Were you able to successfully resolve the issue?
sadly no