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 building wheel for installation on windows 11 #282

Open
Chiken502 opened this issue Sep 25, 2024 · 0 comments
Open

Error building wheel for installation on windows 11 #282

Chiken502 opened this issue Sep 25, 2024 · 0 comments

Comments

@Chiken502
Copy link

Hello, I'm relatively new to Python and unsure if I've made a mistake, but I'm seeking a resolution for an issue so I can explore this library. The problem arises when using pip install pyo.

      copying pyo\examples\snds\snd_6.aif -> build\lib.win-amd64-cpython-312\pyo\examples\snds
      copying pyo\examples\snds\mapleleafrag.mid -> build\lib.win-amd64-cpython-312\pyo\examples\snds
      running build_ext
      error: [WinError 2] The system cannot find the file specified
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyo
  Running setup.py clean for pyo
Failed to build pyo
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyo)

The issue doesn't seem to be with pip, so I attempted a manual download from GitHub. In my code, I used the import statement from pyo_master import *, where 'pyo_master' was the name of the downloaded file. This approach appeared to work with the existing example code, but upon execution, it resulted in another error which is below.

....\pyo\lib\_core.py", line 48, in <module>
    from .._pyo import *
ModuleNotFoundError: No module named 'pyo._pyo'

I don't know how to fix this issue, so I hope someone here can help. Below is additional information that might be useful in addressing the issue.
Operating System - Windows 11
Python Version - 3.12.3

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