1

I have telegram bot that using SpeechRecognition pakage, and for SpeechRecognition I should install pyaudio pakage.

I was wondering how can i do that on replit? is this possible?

CallMeStag
  • 5,467
  • 1
  • 7
  • 22
Mahdi mk
  • 30
  • 5

3 Answers3

0

Go to "Tools" -> "Packages" -> Search

  • I tried that, but getting this error : ` ERROR: Failed building wheel for PyAudio` `Failed to build PyAudio` `ERROR: Could not build wheels for PyAudio which use PEP 517 and cannot be installed directly` `Failed to add packages, reverting the pyproject.toml file to its original content. exit status 1` – Mahdi mk Jan 07 '23 at 16:42
0

After searching a lot, I am writing this for those who have the same problem as me

Unfortunately, replit doesn't support PyAudio.

Mahdi mk
  • 30
  • 5
-1

These options worked well for me, so you can try them:

  1. Install the SpeechRecognition library.

  2. Install PyAudio library.

If you already have Python installed, you can install these libraries from Command Prompt or Terminal. Thanks.

Julia Meshcheryakova
  • 3,162
  • 3
  • 22
  • 42