Install the pyttsx3 module

Solved
DANTOTO Posted messages 36 Status Member -  
 LeoLeo99897 -

Hello.
So for Python, I need to install the linguistic module: pyttsx3.
I downloaded the module:
pyttsx3-2.90-py3-none-any.whl that I put on my desktop.
Now I don't know how to proceed to install it in Python.
Could someone maybe give me the step-by-step instructions? I assume I need to place this module in a specific location to run the installation command, but where and how??
If the module I downloaded isn't the correct French module, could you please indicate the address to find it and its exact name?
Thank you in advance for your help


3 answers

LeoLeo99897
 

Hello,

I have another method to recommend for installing it if you are on Windows:

Open the file explorer and go to AppData (windows + r and type AppData) then go to Local\Programs\Python\PythonVERSION. You should find a file called python.exe there. Copy its path. Open a command prompt and paste the path of the .exe. Then type at the end " -m pip install pyttsx3"

This will give you in your cmd:

"C:\Users\NAME\AppData\Local\Programs\Python\PythonVERSION\python.exe -m pip install pyttsx3"

I hope it will work for you ;)

Have a good end of the day

1
DANTOTO Posted messages 36 Status Member
 

Good evening.

Thank you for your response.

I followed your instructions but I must be missing something.

I took a screenshot that I'm attaching so you can point out where the error might be if possible.

The problem, however, is that my file :pyttsx3-2.90-py3-none-any.whl is on my desktop, maybe it needs to be placed somewhere else?

Thank you for your response.

0
yg_be Posted messages 23437 Registration date   Status Contributor Last intervention   1 588
 

Hello,

If possible, avoid screenshots and other images, and copy the text instead.

0
LeoLeo99897
 

Hello, you just need to put a space between Python311-32 and -m :)

0
DANTOTO Posted messages 36 Status Member
 

Good evening.
By modifying the line with: python.exe -m pip install pyttsx3 it worked.

I will certainly have issues now with Python programming, but that's another story.

Thanks again.

0