[Ubuntu] Can't send image
See original GitHub issueHello! Code works fine on Windows. Migrated the script to Ubuntu 18.04.3 LTS and doesn’t work. At first, the code below sent the text + the address of the image as a message. (e.g. “Hello!/aa/aaa/aa”) Then, I noticied that xclip was missing and installed it via sudo apt-get install xclip and now the code just sends the caption, but no image.
Tried the same code on windows and works perfectly.
The image is in the same path as the script.
pywhatkit.sendwhats_image(f"+549"+numero,img_path='/home/dide/Documentos/PythonX/ZorroBot/zorrito.jpg',caption="Hello",wait_time=10,tab_close=True)
Also tried:
pywhatkit.sendwhats_image(f"+549"+numero,img_path='zorrito.jpg',caption="Hello",wait_time=10,tab_close=True)
Also, tried without the “img_path” and just the ‘zorrito.jpg’.
But same result.
Thank you very much!
Issue Analytics
- State:
- Created 2 years ago
- Comments:20
Top GitHub Comments
Sure!
Please take your time! I appreciate the work on this library as it is handy plus docs are easy to grasp as well so I am using this in my school project.