Python DNS module import error

后端 未结 13 1656
失恋的感觉
失恋的感觉 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:27

    I faced the same problem and solved this like i described below: As You have downloaded and installed dnspython successfully so

    1. Enter into folder dnspython
    2. You will find dns directory, now copy it
    3. Then paste it to inside site-packages directory

    That's all. Now your problem will go

    If dnspython isn't installed you can install it this way :

    1. go to your python installation folder site-packages directory
    2. open cmd here and enter the command : pip install dnspython

    Now, dnspython will be installed successfully.

提交回复
热议问题