Koischizo / AI-Vtuber

AI Livestreamer for Youtube
https://www.youtube.com/watch?v=1MrDnLBc-wQ
MIT License
384 stars 91 forks source link

pyproject.toml-based error #29

Closed Kopbabakop closed 1 year ago

Kopbabakop commented 1 year ago

ERROR: Could not build wheels for simpleaudio, which is required to install pyproject.toml-based projects

I can't find any way to fix this error help me for this error @Koischizo

Kopbabakop commented 1 year ago

The error message suggests that there was a problem building the simpleaudio package, which is needed to install the package. This is a common error when trying to install packages on Windows machines, and there are a few steps you can take to try and fix it.

Check that you have the latest version of pip installed by running pip install --upgrade pip.

Install the Microsoft Visual C++ Build Tools by downloading and running the installer from this link: https://visualstudio.microsoft.com/visual-cpp-build-tools/. Make sure to select the "C++ build tools" option when prompted.

Install the Microsoft Visual Studio Redistributable for Visual Studio 2015, 2017, and 2019 by downloading and running the installer from this link: https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0.

Try installing simpleaudio again by running pip install simpleaudio.

If the above steps do not work, you can try installing simpleaudio using a pre-built wheel file. First, download the appropriate wheel file for your Python version and architecture from here: https://www.lfd.uci.edu/~gohlke/pythonlibs/#simpleaudio. Then, install the wheel file using pip install .whl.

If none of these steps work, you may need to investigate further to determine the cause of the build failure. You can try running pip install with the -v flag to see more verbose output, which may help you identify the issue.

Kopbabakop commented 1 year ago

try to install simpleaudio-1.0.4-cp310-cp310-win_amd64.whl