Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
text to speech
#7
As you use PyCharm most choose right interpreter.
Configure a Python interpreter PyCharm
So for you this is the path.
C:\Users\Joe\AppData\Local\Programs\Python\Python38-32\python.exe
Also look here,make sure that python and pip command work from cmd.

Learn to run and install from command line,it's a important part of basic programming skill.
Quick example in cmder,same in cmd.
C:\
λ cd code

# Test python 
C:\code
λ python -V
Python 3.8.3

# Test pip
C:\Code
λ pip -V
pip 20.1.1 from c:\python38\lib\site-packages\pip (python 3.8)

# Install
C:\code
λ pip install pywin32
Requirement already satisfied: pywin32 in c:\python38\lib\site-packages (228)

# Look at code,use <more> in cmd
C:\code
λ cat ciao.py
from win32com.client import Dispatch

speak = Dispatch("SAPI.SpVoice")
speak.Speak("Ciao")

# Run code and it works
C:\code
λ python ciao.py
Reply


Messages In This Thread
text to speech - by Heyjoe - Jun-27-2020, 07:50 PM
RE: text to speech - by snippsat - Jun-27-2020, 08:15 PM
RE: text to speech - by Heyjoe - Jun-28-2020, 06:18 PM
RE: text to speech - by snippsat - Jun-28-2020, 08:28 PM
RE: text to speech - by Heyjoe - Jun-30-2020, 01:05 AM
RE: text to speech - by menator01 - Jun-30-2020, 01:31 AM
RE: text to speech - by snippsat - Jun-30-2020, 07:27 AM
RE: text to speech - by Heyjoe - Jun-30-2020, 09:44 PM
RE: text to speech - by snippsat - Jun-30-2020, 10:36 PM
RE: text to speech - by Heyjoe - Jul-01-2020, 01:02 AM
RE: text to speech - by snippsat - Jul-01-2020, 08:44 AM
RE: text to speech - by Heyjoe - Jul-02-2020, 01:32 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Controlling text-to-speech pauses with pyttsx3 pmac1300 4 4,483 Mar-14-2022, 06:47 AM
Last Post: Coricoco_fr
  Speech Recognition with timestamps DeanAseraf1 3 6,620 Jun-27-2021, 06:58 PM
Last Post: gh_ad
  Continous Speech Recognition dell91 0 1,840 Oct-29-2020, 10:51 AM
Last Post: dell91
  How to Split Output Audio on Text to Speech Code Base12 2 6,880 Aug-29-2020, 03:23 AM
Last Post: Base12
  Googles Text to speech justindiaz7474 0 1,678 May-06-2020, 02:04 AM
Last Post: justindiaz7474
  Simulation of Text to speech (without using mic) to Voice recognition suported hardwa Helloworld20 2 2,242 Apr-08-2020, 02:13 AM
Last Post: Helloworld20
  Python Speech Engines? Robo_Pi 2 2,104 Mar-12-2020, 02:46 PM
Last Post: Robo_Pi
  Speech Recognition Ash23733 1 8,636 Dec-12-2018, 10:00 PM
Last Post: nilamo
  Speech (audio file, wav) to Text - Broken pipe Shobha 1 3,785 Nov-27-2018, 12:41 PM
Last Post: Larz60+
  Need Help With Text to Speech App Lethe 0 1,989 Oct-24-2018, 10:03 PM
Last Post: Lethe

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020