Как я могу получить модуль Python «playsound»? [закрыто]Python

Программы на Python
Гость
Как я могу получить модуль Python «playsound»? [закрыто]

Сообщение Гость »


I ran this code

from os import system import speech_recognition as sr from playsound2 import playsound and got this error

Exception has occurred: ModuleNotFoundError No module named 'playsound' File "/Users/williamsp/Desktop/gpt4all_voice/main.py", line 3, in from playsound import playsound ModuleNotFoundError: No module named 'playsound'). I ran command python3 -m pip install playsound and I got this message.

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. I am using the code from a YouTube video. It's for an AI voice assistant.

One of the replies AI gave me was that there is a problem connecting to the wheel, but I'm not even sure what the wheel is.


Источник: https://stackoverflow.com/questions/780 ... und-module

Вернуться в «Python»