learncodebygaming / enb_bot

PyAutoGUI bot for Earth & Beyond
MIT License
36 stars 10 forks source link

Python can't find pyautogui #1

Open Taneb2 opened 1 year ago

Taneb2 commented 1 year ago

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'

Nrazuke commented 3 weeks ago

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'

import pyautogui first, else if you didnt install it yet, do pip install pyautogui.