I'm trying to send a image in WhatsApp through pywhatkit module, but when I run my code I have the error ModuleNotFoundError: No module named 'win32clipboard'.
I installed pywin32, but the error remains. Here's my code:
import pywhatkit as w
w.sendwhats_image('NUMBER', 'C:\\THIS\\IS\\MY\\FOLDER\\pic.png', 'CAPTION')
And this is where the error triggers (filename 'core.py' from pywhatkit module):
from io import BytesIO
import win32clipboard
from PIL import Image
image = Image.open(path)
output = BytesIO()
image.convert("RGB").save(output, "BMP")
data = output.getvalue()[14:]
output.close()
win32clipboard.OpenClipboard()
win32clipboard.EmptyClipboard()
win32clipboard.SetClipboardData(win32clipboard.CF_DIB, data)
win32clipboard.CloseClipboard()