Python Forum

Full Version: text to speech
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(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.
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.
Pages: 1 2