Issue
I appreciate questions similar to this one (for VSCode and PyCharm) but I'm experiencing a problem with SublimeText with the following code:
import pyautogui, time
time.sleep(5)
f = open("text", 'r')
for word in f:
pyautogui.typewrite(word)
pyautogui.press("enter")
This is the error I get:
Traceback (most recent call last):
File "C:/Users/HP/PycharmProjects/pythonProject2/main.py", line 1, in <module>
import pyautogui, time
ModuleNotFoundError: No module named 'pyautogui'
I tried googling it but I couldn't find the answer, Please help! Thank you!
Solution
you need to run pip install pyautogui
Answered By - Jesse Taube
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.