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

can't run "run.sh" on mac #2401

Open
Matin-Na opened this issue Dec 7, 2024 · 0 comments
Open

can't run "run.sh" on mac #2401

Matin-Na opened this issue Dec 7, 2024 · 0 comments

Comments

@Matin-Na
Copy link

Matin-Na commented Dec 7, 2024

i have installed python 3.9.16 and i am using the (2.2.231006 ) version for AMD/Intel GPU. when I use terminal to run the run.sh, it started to tell me that certain modules are not installed so I started installing those modules one by one using pip and now it's telling me that "ModuleNotFoundError: No module named 'pyworld'" and when I try installing it usingpip install pyworld it gives me this error:

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
╰─> [22 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-15.0-arm64-cpython-39/pyworld
copying pyworld/init.py -> build/lib.macosx-15.0-arm64-cpython-39/pyworld
running build_ext
/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-install-moyd4f86/pyworld_ccc5fc705bb1465492eea272ff641a97/pyworld/pyworld.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Compiling pyworld/pyworld.pyx because it changed.
[1/1] Cythonizing pyworld/pyworld.pyx
building 'pyworld.pyworld' extension
creating build/temp.macosx-15.0-arm64-cpython-39/lib/World/src
creating build/temp.macosx-15.0-arm64-cpython-39/pyworld
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/cheaptrick.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/cheaptrick.o
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/codec.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/codec.o
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/common.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/common.o
clang++ -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -Ilib/World/src -I/private/var/folders/7y/byrchbc95fx5tfpx9vgj843r0000gn/T/pip-build-env-3yxosdog/overlay/lib/python3.9/site-packages/numpy/_core/include -I/Users/matinnasiri/.pyenv/versions/3.9.16/include/python3.9 -c lib/World/src/d4c.cpp -o build/temp.macosx-15.0-arm64-cpython-39/lib/World/src/d4c.o
lib/World/src/d4c.cpp:11:10: fatal error: 'algorithm' file not found
11 | #include // for std::sort()
| ^~~~~~~~~~~
1 error generated.
error: command '/usr/bin/clang++' 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: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyworld)

what should I do?

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