0

i recently formated my laptop and installed fresh Pycharm and python. i added the path where i doanloded pythonb to the environment variables. then i used the CMD to install multiple pakages, such as pandas, pytorch, opencv...... in pycharm and cmd when i excute " pip list" all the modules appear.

But when i try to import any in my code, for ex 'text_to_speech', i get the No module named 'text_to_speech' error

from text_to_speech import speak
speak("Hello World", "en", save=False, speak=True)

enter image description here

how to solve this issue

i tried to change python version ( i have 3.11 and 3.10 ) yet not solved

R44
  • 9
  • 2

0 Answers0