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

problem in pip #334

Open
PaLLaMAVC opened this issue Jan 8, 2024 · 4 comments
Open

problem in pip #334

PaLLaMAVC opened this issue Jan 8, 2024 · 4 comments

Comments

@PaLLaMAVC
Copy link

`Building wheel for pyroomacoustics (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [109 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/acoustics.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/beamforming.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/directivities.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/metrics.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/multirate.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/parameters.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/recognition.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/room.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/soundsource.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/sync.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/utilities.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/version.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
copying pyroomacoustics/windows.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/cssm.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/detect_peaks.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/doa.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/frida.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/grid.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/music.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/normmusic.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/plotters.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/srp.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/tools_fri_doa_plane.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/tops.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/utils.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
copying pyroomacoustics/doa/waves.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/doa
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/adaptive_filter.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/data_structures.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/lms.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/rls.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/subband_lms.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
copying pyroomacoustics/adaptive/util.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/adaptive
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/transform
copying pyroomacoustics/transform/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/transform
copying pyroomacoustics/transform/dft.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/transform
copying pyroomacoustics/transform/stft.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/transform
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/deconvolution.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/delay_calibration.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/localization.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/measure_ir.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/physics.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/point_cloud.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/rt60.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
copying pyroomacoustics/experimental/signals.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/experimental
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/datasets
copying pyroomacoustics/datasets/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/datasets
copying pyroomacoustics/datasets/base.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/datasets
copying pyroomacoustics/datasets/cmu_arctic.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/datasets
copying pyroomacoustics/datasets/google_speech_commands.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/datasets
copying pyroomacoustics/datasets/timit.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/datasets
copying pyroomacoustics/datasets/utils.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/datasets
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/auxiva.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/common.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/fastmnmf.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/fastmnmf2.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/ilrma.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/sparseauxiva.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
copying pyroomacoustics/bss/trinicon.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/bss
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/denoise
copying pyroomacoustics/denoise/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/denoise
copying pyroomacoustics/denoise/iterative_wiener.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/denoise
copying pyroomacoustics/denoise/spectral_subtraction.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/denoise
copying pyroomacoustics/denoise/subspace.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/denoise
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/phase
copying pyroomacoustics/phase/init.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/phase
copying pyroomacoustics/phase/gl.py -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/phase
copying pyroomacoustics/build_rir.pyx -> build/lib.linux-x86_64-cpython-38/pyroomacoustics
creating build/lib.linux-x86_64-cpython-38/pyroomacoustics/data
copying pyroomacoustics/data/materials.json -> build/lib.linux-x86_64-cpython-38/pyroomacoustics/data
running build_ext
creating tmp
gcc -pthread -B /root/miniconda3/envs/pyroom/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/pyroom/include/python3.8 -c /tmp/tmpgdaprtk1.cpp -o tmp/tmpgdaprtk1.o -std=c++14
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
gcc -pthread -B /root/miniconda3/envs/pyroom/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/root/miniconda3/envs/pyroom/include/python3.8 -c /tmp/tmp8rirtoh4.cpp -o tmp/tmp8rirtoh4.o -fvisibility=hidden
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
building 'pyroomacoustics.libroom' extension
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/pyroomacoustics
creating build/temp.linux-x86_64-cpython-38/pyroomacoustics/libroom_src
gcc -pthread -B /root/miniconda3/envs/pyroom/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I. -Ipyroomacoustics/libroom_src -I/tmp/pip-build-env-_hol1qwe/overlay/lib/python3.8/site-packages/pybind11/include -I/tmp/pip-build-env-_hol1qwe/overlay/lib/python3.8/site-packages/pybind11/include -Ipyroomacoustics/libroom_src/ext/eigen -I/root/miniconda3/envs/pyroom/include/python3.8 -c pyroomacoustics/libroom_src/libroom.cpp -o build/temp.linux-x86_64-cpython-38/pyroomacoustics/libroom_src/libroom.o -DEIGEN_MPL2_ONLY -Wall -O3 -DEIGEN_NO_DEBUG -DVERSION_INFO="0.7.3" -std=c++14 -fvisibility=hidden
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from pyroomacoustics/libroom_src/room.hpp:263,
from pyroomacoustics/libroom_src/libroom.cpp:38:
pyroomacoustics/libroom_src/room.cpp: In instantiation of ‘std::tuple<Eigen::Matrix<float, D, 1, (Eigen::AutoAlign | (((((int)D) == 1) && (1 != 1)) ? Eigen::RowMajor : (((1 == 1) && (((int)D) != 1)) ? Eigen::ColMajor : Eigen::ColMajor))), D, 1>, int, float> Room::next_wall_hit(Vectorf&, Vectorf&, bool) [with long unsigned int D = 3; Vectorf = Eigen::Matrix<float, 3, 1>]’:
pyroomacoustics/libroom_src/libroom.cpp:69:37: required from here
pyroomacoustics/libroom_src/room.cpp:665:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
665 | for (int shoebox_orders_idx = 0 ; shoebox_orders_idx < D ; shoebox_orders_idx++)
| ~~~~~~~~~~~~~~~~~~~^~~
pyroomacoustics/libroom_src/room.cpp: In instantiation of ‘std::tuple<Eigen::Matrix<float, D, 1, (Eigen::AutoAlign | (((((int)D) == 1) && (1 != 1)) ? Eigen::RowMajor : (((1 == 1) && (((int)D) != 1)) ? Eigen::ColMajor : Eigen::ColMajor))), D, 1>, int, float> Room::next_wall_hit(Vectorf&, Vectorf&, bool) [with long unsigned int D = 2; Vectorf = Eigen::Matrix<float, 2, 1>]’:
pyroomacoustics/libroom_src/libroom.cpp:132:37: required from here
pyroomacoustics/libroom_src/room.cpp:665:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
gcc: fatal error: Killed signal terminated program cc1plus
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyroomacoustics
Failed to build pyroomacoustics
ERROR: Could not build wheels for pyroomacoustics, which is required to install pyproject.toml-based projects`

@fakufaku
Copy link
Collaborator

fakufaku commented Jan 9, 2024

Hi, I couldn't find a meaningful error message in the output you have posted. Could you please give more information about your system ? It could be a memory error if you have less than 2GB of RAM.

@fakufaku
Copy link
Collaborator

Closed due to inactivity.

@souravehere
Copy link

souravehere commented Jun 28, 2024

Hi There,
Reopening this again as I am also getting the same error. I am trying to install it on a circleCI linux VM.

image: cimg/python:3.10.14-node
RAM: 16GB (upgraded as per your previous comment)
OS: ubuntu 22.04.3 LTS

[pipenv.exceptions.InstallError]:                        from pyroomacoustics/libroom_src/libroom.cpp:38:
[pipenv.exceptions.InstallError]:       pyroomacoustics/libroom_src/room.cpp: In instantiation of ‘std::tuple<Eigen::Matrix<float, D, 1, (Eigen::AutoAlign | (((((int)D) == 1) && (1 != 1)) ? Eigen::RowMajor : (((1 == 1) && (((int)D) != 1)) ? Eigen::ColMajor :  Eigen::ColMajor))), D, 1>, int, float> Room<D>::next_wall_hit(Vectorf<D>&, Vectorf<D>&, bool) [with long unsigned int D = 3; Vectorf<D> = Eigen::Matrix<float, 3, 1>]’:
[pipenv.exceptions.InstallError]:       pyroomacoustics/libroom_src/libroom.cpp:69:37:   required from here
[pipenv.exceptions.InstallError]:       pyroomacoustics/libroom_src/room.cpp:665:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
[pipenv.exceptions.InstallError]:         665 |     for (int shoebox_orders_idx = 0 ; shoebox_orders_idx < D ; shoebox_orders_idx++)
[pipenv.exceptions.InstallError]:             |                                       ~~~~~~~~~~~~~~~~~~~^~~
[pipenv.exceptions.InstallError]:       pyroomacoustics/libroom_src/room.cpp: In instantiation of ‘std::tuple<Eigen::Matrix<float, D, 1, (Eigen::AutoAlign | (((((int)D) == 1) && (1 != 1)) ? Eigen::RowMajor : (((1 == 1) && (((int)D) != 1)) ? Eigen::ColMajor :  Eigen::ColMajor))), D, 1>, int, float> Room<D>::next_wall_hit(Vectorf<D>&, Vectorf<D>&, bool) [with long unsigned int D = 2; Vectorf<D> = Eigen::Matrix<float, 2, 1>]’:
[pipenv.exceptions.InstallError]:       pyroomacoustics/libroom_src/libroom.cpp:132:37:   required from here
[pipenv.exceptions.InstallError]:       pyroomacoustics/libroom_src/room.cpp:665:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
[pipenv.exceptions.InstallError]:       gcc: fatal error: Killed signal terminated program cc1plus
[pipenv.exceptions.InstallError]:       compilation terminated.
[pipenv.exceptions.InstallError]:       error: command '/usr/bin/gcc' failed with exit code 1
[pipenv.exceptions.InstallError]:       [end of output]```

@fakufaku
Copy link
Collaborator

Hello @souravehere

Again, there is no error message, only warnings about sign/unsigned comparison.
I am a bit puzzled. With 16 GB, memory should not be an issue.

Could you please check the compiler options?
I think there is an option to treat warnings as errors.
If it is activated, then try to deactivate it.

@fakufaku fakufaku reopened this Jun 28, 2024
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