Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ModuleNotFoundError: No module named 'pyautogui'

I tried installing pyautogui in Visual Studio but whenever I run the following program:

import subprocess
import pyautogui #pylint: disable=E0401
import time
import pandas as pd #pylint: disable=E0401
from datetime import datetime

def sign_in(meetingid, pswd):
    # Opens up zoom app
    subprocess.call(r"C:\Users\krish\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Zoom")

sign_in('6931145146', 'SKS123')

I get the following error:

File "c:\Users\krish\Desktop\AUTOBOT\Zoom Auto Attender", line 2, in <module>
    import pyautogui #pylint: disable=E0401
ModuleNotFoundError: No module named 'pyautogui'

I tried the available solution import error for pyautogui

But it doesn't work, So please help.

like image 441
krish-del Avatar asked Oct 31 '25 05:10

krish-del


1 Answers

You probably need to install the package for pyautogui

https://pyautogui.readthedocs.io/en/latest/

pip install pyautogui

like image 174
eriblexp Avatar answered Nov 01 '25 18:11

eriblexp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!