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: command '/usr/bin/gcc' failed with exit code 1&make: *** [Makefile:7: all] Error 1 #106

Open
Tankaishen opened this issue Jul 11, 2024 · 5 comments

Comments

@Tankaishen
Copy link

error: command '/usr/bin/gcc' failed with exit code 1
error: subprocess-exited-with-error

× Building wheel for psbody-mesh (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /root/anaconda3/envs/pytorch/bin/python3.9 /root/anaconda3/envs/pytorch/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/in_process.py build_wheel /tmp/tmpn2iglis
cwd: /data/mesh-fix-MSVC_compilation
Building wheel for psbody-mesh (pyproject.toml) ... error
ERROR: Failed building wheel for psbody-mesh
Failed to build psbody-mesh
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (psbody-mesh)
make: *** [Makefile:7: all] Error 1

I have installed gcc and g++ and replace the install-options with config-settings in Makefile:7, But I still met this error. How to solve it?

@yjhong89
Copy link

Same error with me

@Tankaishen
Copy link
Author

Tankaishen commented Jul 11, 2024

I created a new environment and ran “make all”. It success! Why? I think if there is some package that is conflict with the installation of psbody.

@yjhong89
Copy link

Without BOOST_INCLUDE_DIRS ??

@Tankaishen
Copy link
Author

Without BOOST_INCLUDE_DIRS ??

Use the cd command to the folder downloaded from this repository, which contains the "Makefile". If the Working directory is this folder, there is no need to include the string "BOOST_INCLUDE_DIRS"

@Pamimi
Copy link

Pamimi commented Aug 5, 2024

I created a new environment and ran “make all”. It success! Why? I think if there is some package that is conflict with the installation of psbody.

It seems that the version of numpy might have caused the compilation to fail. After downgrading my numpy version from 2.0.1 to 1.26, the compilation was successful.

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

3 participants