Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing with pip #45

Open
YorozuyaDev opened this issue Jun 16, 2022 · 0 comments
Open

Error installing with pip #45

YorozuyaDev opened this issue Jun 16, 2022 · 0 comments

Comments

@YorozuyaDev
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant