multi_rake icon indicating copy to clipboard operation
multi_rake copied to clipboard

Error installing with pip

Open YorozuyaDev opened this issue 2 years ago • 0 comments

I found the following errors trying to install it with pip. Maybe it's not related with multi-rake indeed and it is with the library Pycdl2 but just in case...

  x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-install-eru2tbk6/pycld2_afe9ac3933ed4ef2b826dde420fc878d/cld2/internal -I/tmp/pip-install-eru2tbk6/pycld2_afe9ac3933ed4ef2b826dde420fc878d/cld2/public -I/root/alike-social/env/include -I/usr/include/python3.10 -c /tmp/pip-install-eru2tbk6/pycld2_afe9ac3933ed4ef2b826dde420fc878d/bindings/encodings.cc -o build/temp.linux-x86_64-cpython-310/tmp/pip-install-eru2tbk6/pycld2_afe9ac3933ed4ef2b826dde420fc878d/bindings/encodings.o -w -O2 -m64 -fPIC
      error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pycld2

Installing using the second command CFLAGS="-Wno-narrowing" pip install multi-rake gives another error:

wing -fPIC -I/tmp/pip-install-rh8ea47v/pycld2_4d9ed0a197634cc68c9a3c2c437ba00a/cld2/internal -I/tmp/pip-install-rh8ea47v/pycld2_4d9ed0a197634cc68c9a3c2c437ba00a/cld2/public -I/root/alike-social/env/include -I/usr/include/python3.10 -c /tmp/pip-install-rh8ea47v/pycld2_4d9ed0a197634cc68c9a3c2c437ba00a/bindings/encodings.cc -o build/temp.linux-x86_64-cpython-310/tmp/pip-install-rh8ea47v/pycld2_4d9ed0a197634cc68c9a3c2c437ba00a/bindings/encodings.o -w -O2 -m64 -fPIC
      error: command 'x86_64-linux-gnu-gcc' failed: No such file or directory
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pycld2

System:

  • Ubuntu SMP Sat May 21 02:24:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
  • Python 3.10.4

Steps to reproduce:

pip install multi-rake # will return the first error
CFLAGS="-Wno-narrowing" pip install multi-rake # will return the second error

YorozuyaDev avatar Jun 16 '22 10:06 YorozuyaDev