Can't install pyttsx3 module
I install stash, and after in stash console try:
pip install pyttsx3
Running setup file ...
PermissionError(1, 'Operation not permitted')
Failed to run setup.py
Fall back to directory guessing ...
Error: Cannot locate packages. Manual installation required.
When installed wikipedia all was ok.
Please help solve.
You can also try
import speech import inspect print(inspect.getfile(speech))
Either you will get an error module 'speech' (built-in)> is a built-in module
Either you will get its path if another speech module is imported
get an error module 'speech' (built-in)> is a built-in module
@lyubomyr83 thus, you did not remove it...
@lyubomyr83 why do you think you deleted the speech module? What error do you get when you try to use it?
Or, are you talking the SpeechModule script that was shared?
In that case, just copy the code again, paste into the editor, and name it something other than speech...
@JonB i have two same 3rd generation ipads, run the same program and have voice in one of them and not in another one. Yes, voice is on ))) in settings. And i have not errors.
@lyubomyr83 could you try the iOS Shortuts app with "speak text" command, only to check if the problem could come from the hardware and not from Pythonista
@cvp in iOS settings/speech i hear sound when i change speed (Turtle)
@lyubomyr83 ok, but did you try the shortcut ?
And is your script as short as
import speech speech.say("привет друг", "ru-RU") # hello friend
@lyubomyr83 check that the mute alarms is not set in the pull down settings. If you have a physical mute switch, make sure it is not set to mute. If you have a physical switch that you toggled to lock rotation, then make sure the swipe settings doesn't show mute.
Even when volume is turned up, pythonista honors the mute setting for some sounds.