Jun-30-2020, 07:27 AM
As you use PyCharm most choose right interpreter.
Configure a Python interpreter PyCharm
So for you this is the path.
Learn to run and install from command line,it's a important part of basic programming skill.
Quick example in cmder,same in cmd.
Configure a Python interpreter PyCharm
So for you this is the path.
C:\Users\Joe\AppData\Local\Programs\Python\Python38-32\python.exeAlso 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