Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
text to speech
#11
(Jul-01-2020, 01:02 AM)Heyjoe Wrote: So for the first command it showed what my code is.

And the second command did work & I heard the word "ciao".

I am wondering if it has to do if how I have my interpreter set up in Pycharm.
Then all is working as it should Thumbs Up

This is just where Pycharm default save files,you can choose your own location.
C:\Users\Joe\PycharmProjects\Myproject
If run this command,you will see interpreter that you shall point in config.
# The interpreter placement
C:\>python -c "import sys; print(sys.executable)"
C:\python38\python.exe

# Test that pip work
C:\>pip -V
pip 20.1.1 from c:\python38\lib\site-packages\pip (python 3.8)

C:\>
As you see i have chosen a shorter Path when i installed Python look here,you have the long default path if change nothing when install Python.
C:\Users\Joe\AppData\Local\Programs\Python\Python38-32\python.exe
So it's important to now the basic underlying and how it's work.
IF look at my tutorial here VS Code from start you see that i start with command line stuff to test basic setup.
Reply
#12
Thanks Snippsat:
I learned a lot about doing things from the command prompt as you showed me, and am grateful for your help.

I found a solution to the problem. I reviewed the Youtube video How to Fix PyCharm Import Error and Setup Your Interpreter from about 7:52 to 8:45 where he talks about the system interpreter. I don't know exactly what I did with the System Interpreter but now I don't have the problem.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Controlling text-to-speech pauses with pyttsx3 pmac1300 4 4,323 Mar-14-2022, 06:47 AM
Last Post: Coricoco_fr
  Speech Recognition with timestamps DeanAseraf1 3 6,501 Jun-27-2021, 06:58 PM
Last Post: gh_ad
  Continous Speech Recognition dell91 0 1,807 Oct-29-2020, 10:51 AM
Last Post: dell91
  How to Split Output Audio on Text to Speech Code Base12 2 6,785 Aug-29-2020, 03:23 AM
Last Post: Base12
  Googles Text to speech justindiaz7474 0 1,629 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,192 Apr-08-2020, 02:13 AM
Last Post: Helloworld20
  Python Speech Engines? Robo_Pi 2 2,059 Mar-12-2020, 02:46 PM
Last Post: Robo_Pi
  Speech Recognition Ash23733 1 8,529 Dec-12-2018, 10:00 PM
Last Post: nilamo
  Speech (audio file, wav) to Text - Broken pipe Shobha 1 3,713 Nov-27-2018, 12:41 PM
Last Post: Larz60+
  Need Help With Text to Speech App Lethe 0 1,955 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