Install dnspython on linux ubuntu

11.9k Views Asked by At

I have Ubuntu installed. I am trying to use zxlolbot. But when I open zxlolbot.py it gives me an error.

Please download dnspython

I tried to install dnspython but I couldn't install it. I don't use PuTTY.

3

There are 3 best solutions below

0
On
  1. Download dnspython from http://www.dnspython.org/.
  2. Extract the contents.
  3. Open the terminal and navigate to the extracted directory.
  4. Type python setup.py install
0
On

Make sure you have (pip or pip3) installed.

Use one of these commands (depending on what your pip version):

pip install dnspython
pip3 install dnspython
0
On

You need to install the package python-dnspython:

sudo apt-get install python-dnspython