Miline Miline - 2 months ago 94x
Python Question

How do I install pybonjour on Ubuntu 14.04

Getting this error

ImportError: No module named pybonjour

How do I install pybonjour on Ubuntu 14.04.

sudo apt-get install pybonjour
pip install pybonjour
, no luck.

  1. Install libavahi-compat-libdnssd1

    sudo apt-get install libavahi-compat-libdnssd1
  2. Download pybonjour and unpack it with

    tar zxf pybonjour-1.1.1.tar.gz
  3. Installation

    cd pybonjour-1.1.1
    sudo python install
  4. Use

    import pybonjour

Also see for why you need to install libavahi-compat-libdnssd1