Failed to build pyworld
Parthkhadse opened this issue · 0 comments
root@22d67836c9c2:/home/project# pip install pyworld
Collecting pyworld
Using cached pyworld-0.3.2.tar.gz (214 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: cython in /opt/conda/lib/python3.10/site-packages (from pyworld) (0.29.33)
Requirement already satisfied: numpy in /opt/conda/lib/python3.10/site-packages (from pyworld) (1.22.3)
Building wheels for collected packages: pyworld
Building wheel for pyworld (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyworld (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
/tmp/pip-build-env-pzol3lea/overlay/lib/python3.10/site-packages/setuptools/dist.py:788: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-310
creating build/lib.linux-x86_64-cpython-310/pyworld
copying pyworld/init.py -> build/lib.linux-x86_64-cpython-310/pyworld
running build_ext
skipping 'pyworld/pyworld.cpp' Cython extension (up-to-date)
building 'pyworld.pyworld' extension
creating build/temp.linux-x86_64-cpython-310
creating build/temp.linux-x86_64-cpython-310/lib
creating build/temp.linux-x86_64-cpython-310/lib/World
creating build/temp.linux-x86_64-cpython-310/lib/World/src
creating build/temp.linux-x86_64-cpython-310/pyworld
gcc -pthread -B /opt/conda/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/conda/include -fPIC -O2 -isystem /opt/conda/include -fPIC -Ilib/World/src -I/tmp/pip-build-env-pzol3lea/overlay/lib/python3.10/site-packages/numpy/core/include -I/opt/conda/include/python3.10 -c lib/World/src/cheaptrick.cpp -o build/temp.linux-x86_64-cpython-310/lib/World/src/cheaptrick.o
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
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 pyworld
Failed to build pyworld
ERROR: Could not build wheels for pyworld, which is required to install pyproject.toml-based projects