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

installation error #70

Open
Retater opened this issue Apr 21, 2023 · 6 comments
Open

installation error #70

Retater opened this issue Apr 21, 2023 · 6 comments

Comments

@Retater
Copy link

Retater commented Apr 21, 2023

when trying to install simple audio in VS code, it gives an error:
error:

Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]

ERROR: Failed building wheel for simple audio

Failed to build simple audio
ERROR: Could not build wheels for simple audio, which is required to install py project.toml-based projects

Help please

@Yomiia
Copy link

Yomiia commented Apr 21, 2023

same error here, even after installing visual c++

@zaitmambet
Copy link

same here, also installed Visual Studio Build Tools and C++ v. 14
image

@Kopbabakop
Copy link

help @zaitmambet

@Kopbabakop
Copy link

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 <wheel_file_name>.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
Copy link

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

@christian405893
Copy link

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for simpleaudio
Running setup.py clean for simpleaudio
Failed to build simpleaudio
ERROR: Could not build wheels for simpleaudio, which is required to install pyproject.toml-based projects

Problem when trying to install SimpleAudio by the command "pip install simpleaudio" (without double quotation marks)


problem when testing solutions

No linha:1 caractere:13

  • pip install <wheel_file_name>.whl
  •         ~
    

Operador '<' reservado para uso futuro.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : RedirectionNotSupported

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

5 participants