Skip to content

Python can't find pyautogui  #1

@Taneb2

Description

@Taneb2

I can't manage to make it work the code I've written this :
import pyautogui as pg
import time
import webbrowser as web
parsedMessage="Puto"
web.open('https://web.whatsapp.com/'+'+#########'+parsedMessage)
time.sleep(1)
for i in range(10000000):
pg.write('Sondrio')
pg.press('enter')
print('Mensaje #'+str(i+1)+' enviado')
pass
pg.alert('Spam terminado.')

and it pops up this eror:
ModuleNotFoundError: No module named 'pyautogui'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions