Installing PyEnet
jmdejong edited this page Jan 8, 2019
·
3 revisions
PyEnet is the python wrapper for the Enet library. Unknown-Horizons requires this in order to play multiplayer. For singleplayer this is not required.
Warning: Do not use the pyenet package from pip. It is incompatible.
Several linux package managers have a python-enet package:
- Debian and Ubuntu users can use
sudo apt-get install python3-enet
- Arch Linux users can install python-pyenet-git from the AUR
See also the README in github.com/aresch/pyenet for instructions.
- Clone or download the pyenet source from github.com/aresch/pyenet.
- Download the latest version of the Enet source from enet.bespin.org/Downloads.html
- Copy the Enet source folder into the pyenet source folder and rename it to
enet
. - Run
python3 setup.py build
- Run
sudo python3 setup.py install
orpython3 setup.py install --user