This repository has been archived by the owner on Feb 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 136
object has no attribute 'query' #55
Comments
thanks for raising the issue report. I used the following code using python 3.6 :
and got
What version of python are you using? |
fixed in https://pypi.org/project/whois/0.9.2/ Please do a $ pip install --upgrade whois |
Haven the same issue on -version 0.9.3 |
Maybe you have an other python package with same import name. It's the case with the module python-whois which use the package name 'whois' too. Try Try also to delete cache files : |
Can confirm uninstalling python-whois did the trick for me, seems there was a conflict. Thanks! |
Had the same problem, for some reason the name of file can't be whois.py |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I already know that this problem has already been solved, but the solution for me was not that.
-my .py file name isn't whois.py
-whois version 0.8
-installed with
pip3 install whois
Code:
target = ('google.com')
n = whois.query(target)
print(n)
The text was updated successfully, but these errors were encountered: