Quantcast
Channel: Active questions tagged whois - Stack Overflow
Viewing all articles
Browse latest Browse all 46

ModuleNotFoundError: No module named 'whois' [duplicate]

$
0
0

I am writing a simple python script to do a whois lookup for a domain in Visual studio code.I installed python whois using following code.Pip3 install python-whois

The following is the code:

import whoisdomain_whois =  whois.whois("google.com")print(domain_whois)

I get the following error when ran:

Traceback (most recent call last):File "/Users/User1/Documents/Python/addition.py", line 1, in <module>    import whoisModuleNotFoundError: No module named 'whois'

Not sure what I am doing wrong.


Viewing all articles
Browse latest Browse all 46

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>