Python‎ > ‎Python Voice‎ > ‎

1. Text To Speech

Pip to bypass St Pius X SSL Self Signed - Security Restriction 

> pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pip setuptools --upgrade

Option to install into pip.ini file:

  • Open Command Prompt (Admin Mode if possible)
    • press "windows button" "C"
  • navigate to %APPDATA%\pip
    • cd %APPDATA%pip
  • create/edit pip.ini file
    • notepad pip.ini
  • Add following configuration into file:
[install]
trusted-host = 
pypi.org
files.pythonhosted.org

  • Save pip.ini file


Python Text To Speech

Installation

The following instructions are for Python3 and Win32 64bit

To install Python Text To Speech for version 3+ of Python (pyttsx3):

1. CMD to go to command prompt - RUN AS ADMINISTRATOR

2. Navigate to your Python3 installed folder,  e.g. 
    c:
    cd \Python36

3. First, Install Pywin32 extensions
    pip install pywin32

4. Install the additional scripts (Administrator mode only)    
    python Scripts/pywin32_postinstall.py -install

5. Finally, install pyttsx3
    pip install pyttsx3
 
For examples and documentation for pyttsx3


Comments