Closed jramosss closed 3 years ago
Hey @jramosss, Please make sure you are using the latest version of PyWhatKit (5.1)
I do, i did pip freeze and got pywhatkit==5.1
We have tested it on our end and it is working as expected. Can you open the __init__.py
file to verify the presence of this line
from pywhatkit.main import sendwhatmsg_instantly, ...
It should be present under venv/lib/pywhatkit
.
It is present, linted as it wasnt a function
I found the solution, i wasnt using the venv enviroment in vscode.
Describe the Bug Whenever i try to import the function as
from pywhatkit import sendwhatmsg_instantly
orimport pywhatkit as kit
kit.sendwhatmsg_instantly()
it appears like the function does not exist, when i execute the program it works, but i don`t receive any autocompletion or info about the function.i receive this error To Reproduce Steps to reproduce the behavior: 1 - create a venv and activate 2 - install the package with pip 3 - create a file, import the function as i said 4 - start to write
Expected Behavior A clear and concise description of what you expected to happen. Receive info and autocompletion just like the other functions of the library
Screenshots If applicable, add screenshots to help explain your problem. When writing, it appears like an atribute (any), not a function
Desktop (please complete the following information)
Python (please complete the following information)