I am using PyDev in Eclipse Mars to build my project. I used '''import mysql.connector''' but I get an exception through it:
"C:\Program Files\Python36\lib\site-packages\mysql\connector\__init__.py", line 41, in <module>
import dns.resolver
ModuleNotFoundError: No module named 'dns'
There is no option of using pip in Preference>Pydev>Python Interpreters, so I tried adding dns & dnspython module library globally(which I was able to), yet I am getting the same exception.