I want to check MX-Record from Python. So I installed the dnspython
package, but when I try to import following library:
import dns.resolver
It shows the following error:
ModuleNotFoundError: No module named 'dns'.
I use PyCharm and Python 3.
pip list
output as well – Spooferyimport resolver from dns
and paste the error? Just to make sure the package is installed, look in the project interpreter and see that the package is listed. – Spoofery