$ git clone https://github.com/mushorg/conpot.git
$ cd conpot
$ git tag -l
$ git checkout tags/Release_0.5.1
$ python setup.py install
go to the path conpot installed and check if there are (only) folders named "conpot", "bin" and "EGG-INFO"
$ ls /usr/local/lib/python2.7/dist-packages/Conpot-0.5.1-py2.7.egg/
cd ~
sudo git clone https://github.com/JackYo/conpot_bacnet.git
sudo cp -r /usr/local/lib/python2.7/dist-packages/Conpot-0.5.1-py2.7.egg/conpot \
/usr/local/lib/python2.7/dist-packages/Conpot-0.5.1-py2.7.egg/conpot.bak
sudo cp -rf ~/conpot_bacnet/conpot/. /usr/local/lib/python2.7/dist-packages/Conpot-0.5.1-py2.7.egg/conpot/
$ sudo conpot -f --template default
If you see console output "Bacnet server started on: ('0.0.0.0', 47808)", everything should be right.
I recommend using YABE to test BACnet service.
You can refer to the screenshots in YabeUsage folder in this repository.