Miline Miline - 11 months ago 424
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.

Answer Source
  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