Sublime Forum

TextToSpeech Package not working

#1

I have installed TextToSpeech via Package Control. When I try do list commands for it in command pallet none of the commands are present.

0 Likes

#2

Are you on Windows and did you restart ST after installing that package?

1 Like

#3

Yes, I uninstalled and install it a couple of times. I’m Windows 10 22H2 19045.4291

0 Likes

#4

I still can’t make TTS to work. I tried installing Speech SDK 5.1 with no luck.

I also removed TTS package a couple of times, but TTS commands are not coming up in Sublime’s Control Panel.

It used to work before package got updated automatically.

0 Likes

#5

At least on my end there seems to be an issue with the python-pywin32 dependency on package control, causing an import error for this package when it tries to load:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 308, in reload_plugin
reloading plugin Default.copy_path
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
reloading plugin Default.echo
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 1635, in load_module
reloading plugin Default.exec
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "C:\Users\Ben\AppData\Roaming\Sublime Text\Installed Packages\TextToSpeech.sublime-package\tts_commands.py", line 15, in <module>
  File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 1635, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "C:\Users\Ben\AppData\Roaming\Sublime Text\Installed Packages\TextToSpeech.sublime-package\simple_tts/__init__.py", line 213, in <module>
  File "C:\Program Files\Sublime Text\Lib\python33\sublime_plugin.py", line 1635, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "C:\Users\Ben\AppData\Roaming\Sublime Text\Installed Packages\TextToSpeech.sublime-package\simple_tts/tts_win.py", line 16, in <module>
  File "C:\Users\Ben\AppData\Roaming\Sublime Text\Lib\python33\win32com\__init__.py", line 5, in <module>
    import win32api, sys, os
ImportError: No module named 'win32api'
reloading plugin Default.fold
1 Like

#6

Is there any other package that does the same thing.

0 Likes