Ankit404butfound / PyWhatKit

Send WhatsApp message at certain time and many other things.
MIT License
1.37k stars 299 forks source link

module 'pywhatkit' has no attribute 'playnoyt' #204

Closed SAIKO9X closed 2 years ago

SAIKO9X commented 2 years ago

Description

I'm getting the following error when starting my program

To Reproduce

File "c:\Users\saiko\Desktop\Jarvis\Funções\Funções.py", line 36, in youtube("lasanha de carne") File "c:\Users\saiko\Desktop\Jarvis\Funções\Funções.py", line 31, in youtube pywhatkit.playnoyt(term) AttributeError: module 'pywhatkit' has no attribute 'playnoyt'. Did you mean: 'playonyt'?

Screenshots

image

the tab init.py is like this:

image

Version Information

ns23k commented 2 years ago

@SAIKO9X it's pywhatkit.playonyt not playnoyt

tdwright commented 2 years ago

Adding to what @Naman23-coder says, the issue here is that the N and O need to be swapped. The method name (in English) can be read as Play On Y[ou]T[ube].

Siddhesh-Agarwal commented 2 years ago

Yeah, I guess this issue can be closed now?

Ankit404butfound commented 2 years ago

Yeah, I guess this issue can be closed now?

Closed!