Python DNS module import error

后端 未结 13 1648
失恋的感觉
失恋的感觉 2020-12-03 16:39

I have been using python dns module.I was trying to use it on a new Linux installation but the module is not getting loaded. I have tried to clean up and install but the ins

13条回答
  •  鱼传尺愫
    2020-12-03 17:14

    I solved this by uninstalling and then re-installing the dnspython module with PIP.

    $ pip uninstall dnspython
    

    After the long list of files within pycache, type y to continue with the uninstall. After complete type:

    $ pip install dnspython
    

    I then ran my script and the errors were resolved.

提交回复
热议问题