Open kamil-malinski opened 1 year ago
Hi. Could you try this fix ? https://github.com/RapidWareTech/pyttsx/pull/35
how can I apply this fix?
Modify /Users/admin/.pyenv/versions/3.8.16/lib/python3.8/site-packages/pyttsx3/drivers/nsss.py
and
Add from objc import super
before from Foundation import *
.
thanks, this fixed the issue
but it looks like pyautogui doesn't do anything
my command was "Open Firefox, open a new tab, and search for a Python tutorial."
those are the commands that the script is trying to run:
import pyautogui
import time
# Open Firefox
pyautogui.hotkey('command', 'space')
pyautogui.write('Firefox')
pyautogui.press('return')
time.sleep(2)
# Open new tab
pyautogui.hotkey('command', 't')
time.sleep(1)
# Search for Python tutorial
pyautogui.write('Python tutorial')
pyautogui.press('return')
time.sleep(3)
but nothing happens and main.py just exits
Hi!
I'm getting this error when I try to run main.py: