-
Notifications
You must be signed in to change notification settings - Fork 42
Using Python 2 only? #53
Comments
I've reinstalled everything with python2.7. I can confirm this is a requirement. Would be great to specify that somewhere. Also, when I ran
After some research, I found that you're using theold docker API. The solution is to remove recent one:
Would be great (at least for newbies like me) if that could be written somewhere. |
I am getting a subsequent error based on this guide and I was wondering anyone encountered it as well. amsterdam -d ams-test -i wlo0 setup |
➜ /data/compare-traffic3 amsterdam -d ams -i ens9f3 setup |
What OS are you guys using ? |
Hi,
After installing a clean python3 virtualenv I get:
~$ amsterdam -d ams-test -i wlan0 setup
Traceback (most recent call last):
File "/home/gmuller/amsterdam-test/bin/amsterdam", line 46, in
ams = Amsterdam(args.name, args.iface, basepath)
File "/home/gmuller/amsterdam-test/lib/python3.6/site-packages/amsterdam/amsterdam.py", line 47, in init
self.check_environment()
File "/home/gmuller/amsterdam-test/lib/python3.6/site-packages/amsterdam/amsterdam.py", line 112, in check_environment
self.name.decode('ascii')
AttributeError: 'str' object has no attribute 'decode'
According to:
https://stackoverflow.com/questions/26014209/python-3-4-str-attributeerror-str-object-has-no-attribute-decode#comment40743496_26014209
The problem is that the code is written for python2...
Would have been great to read a wraning about that somewhere, before installing the whole Python3 env...
e.g. on pages:
https://www.stamus-networks.com/2016/06/02/amsterdam-1-0-selks-and-docker/
or
https://github.com/StamusNetworks/Amsterdam
Thanks for the job anyway, ELK+Suricata+Scirius+Evebox all look fabulous!
The text was updated successfully, but these errors were encountered: