Distutils error

JRS

Joined
Nov 23, 2023
Messages
2
Reaction score
0
Trying to code a speech interface to ChatGPT, have tried on two different computers and getting the same error on both, I assumed distutils was installed when Python was installed.

File "C:\Users\James\AppData\Local\Programs\Python\Python312\Lib\site-packages\speech_recognition\init.py", line 111, in get_pyaudio
from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'

any help would be appreciated

python-3.12.0-amd64
VSCodeUserSetup-x64-1.84.2
 

JRS

Joined
Nov 23, 2023
Messages
2
Reaction score
0
Thank you very much that worked now I have to update "openai.ChatCompletion"
Research time
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,717
Messages
2,569,382
Members
44,701
Latest member
OurCBDLifeSupplement

Latest Threads

Top