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

Building wheel for pyworld (pyproject.toml) ... error #94

Open
gigi6440 opened this issue Sep 18, 2023 · 0 comments
Open

Building wheel for pyworld (pyproject.toml) ... error #94

gigi6440 opened this issue Sep 18, 2023 · 0 comments

Comments

@gigi6440
Copy link

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
╰─> [31 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.7-x86_64-cpython-37
creating build/lib.macosx-10.7-x86_64-cpython-37/pyworld
copying pyworld/init.py -> build/lib.macosx-10.7-x86_64-cpython-37/pyworld
running build_ext
Compiling pyworld/pyworld.pyx because it changed.
[1/1] Cythonizing pyworld/pyworld.pyx
building 'pyworld.pyworld' extension
creating build/temp.macosx-10.7-x86_64-cpython-37
creating build/temp.macosx-10.7-x86_64-cpython-37/lib
creating build/temp.macosx-10.7-x86_64-cpython-37/lib/World
creating build/temp.macosx-10.7-x86_64-cpython-37/lib/World/src
creating build/temp.macosx-10.7-x86_64-cpython-37/pyworld
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/peiqiguo/anaconda3/include -arch x86_64 -I/Users/peiqiguo/anaconda3/include -arch x86_64 -Ilib/World/src -I/private/var/folders/tt/2fwyzx3935q3lr54gc2m5tvc0000gn/T/pip-build-env-t_enqrme/overlay/lib/python3.7/site-packages/numpy/core/include -I/Users/peiqiguo/anaconda3/include/python3.7m -c lib/World/src/cheaptrick.cpp -o build/temp.macosx-10.7-x86_64-cpython-37/lib/World/src/cheaptrick.o
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/peiqiguo/anaconda3/include -arch x86_64 -I/Users/peiqiguo/anaconda3/include -arch x86_64 -Ilib/World/src -I/private/var/folders/tt/2fwyzx3935q3lr54gc2m5tvc0000gn/T/pip-build-env-t_enqrme/overlay/lib/python3.7/site-packages/numpy/core/include -I/Users/peiqiguo/anaconda3/include/python3.7m -c lib/World/src/codec.cpp -o build/temp.macosx-10.7-x86_64-cpython-37/lib/World/src/codec.o
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/peiqiguo/anaconda3/include -arch x86_64 -I/Users/peiqiguo/anaconda3/include -arch x86_64 -Ilib/World/src -I/private/var/folders/tt/2fwyzx3935q3lr54gc2m5tvc0000gn/T/pip-build-env-t_enqrme/overlay/lib/python3.7/site-packages/numpy/core/include -I/Users/peiqiguo/anaconda3/include/python3.7m -c lib/World/src/common.cpp -o build/temp.macosx-10.7-x86_64-cpython-37/lib/World/src/common.o
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/peiqiguo/anaconda3/include -arch x86_64 -I/Users/peiqiguo/anaconda3/include -arch x86_64 -Ilib/World/src -I/private/var/folders/tt/2fwyzx3935q3lr54gc2m5tvc0000gn/T/pip-build-env-t_enqrme/overlay/lib/python3.7/site-packages/numpy/core/include -I/Users/peiqiguo/anaconda3/include/python3.7m -c lib/World/src/d4c.cpp -o build/temp.macosx-10.7-x86_64-cpython-37/lib/World/src/d4c.o
clang: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
lib/World/src/d4c.cpp:11:10: fatal error: 'algorithm' file not found
#include // for std::sort()
^~~~~~~~~~~
1 error generated.
/private/var/folders/tt/2fwyzx3935q3lr54gc2m5tvc0000gn/T/pip-build-env-t_enqrme/overlay/lib/python3.7/site-packages/Cython/Compiler/Main.py:384: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /private/var/folders/tt/2fwyzx3935q3lr54gc2m5tvc0000gn/T/pip-install-h551a52s/pyworld_69e164df57be4d1a83460015069e37b0/pyworld/pyworld.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
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

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