Some small partners might encounter this problem when installing dns.resolver of;
I Baidu when others are:
pip install dns-python
But I still install this error. Sometimes the package is renamed so you do not have to search. So here to share a solution to the problem can be directly pip search dns
Thus find the package name: dnspython
install dnspython PIP # By successfully installed