Wiki

Clone wiki

beremiz / How to install Zeroconf on Windows using pip

In Beremiz distro from beremiz.org version 1.2-rc1 and below, Python does not contain Zeroconf package, so if you want to use old releases with up-to-date changes for Beremiz from this repository, you should install Zeroconf manually.

Make sure, that you have installed pip, setuptools and wheel(optional) packages. If pip not installed, you can install it with get-pip.py script. Just run get-pip.py with your Python interpreter in command line.

#!bash

python get-pip.py

This script also installs setuptools and wheel packages. For further information go to the official pip documentation.

Installing Zeroconf:

1) First of all, add path to pip.exe to PATH environment variable.

#!bash

Example: ...; D:\Beremiz\python\Scripts;

2) Then, install Microsoft Visual C++ Compiler for Python 2.7 . You can download this package here.

3) Next, in command line type

#!bash

pip install zeroconf==0.19.1

4) Pip will install Zeroconf 0.19.1 and all dependencies(such as six, enum-compat, netifaces, etc.).

Updated