I get this error saying
ModuleNotFoundError: No module named 'whois.whois' from https://pypi.org/project/python-whois/
https://pypi.org/project/whois/
I have installed all whois packages
import whois
domain = whois.whois('google.com')
print(domain)
even if I changed line 2 as domain = whois.query('google.com') still I get the same error.
I tried doing using easy -install.py But didn't work.
But if I run just whois google.com in Cmd Prompt I get the results. But not in python script even though the packages are installed.
Install the dependency with pip - "pip install python-whois"