awslabs / collectd-cloudwatch

A collectd plugin for sending data to Amazon CloudWatch
MIT License
199 stars 131 forks source link

Python3 setup not working #89

Open Zyles opened 4 years ago

Zyles commented 4 years ago
$ python -V
Python 3.6.9

$ sudo ./setup.py
  File "./setup.py", line 165
    print self.message,  # comma stops print from adding line break at the end
             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(self.message,  # comma stops print from adding line break at the end)?
gabegorelick commented 4 years ago

This is important with the Python 2 end of life.

bteeman-quoin commented 4 years ago

Any updates on this? This could really be useful for my project.

digitalresistor commented 4 years ago

There's an open PR for support: https://github.com/awslabs/collectd-cloudwatch/pull/91

aghassemlouei commented 4 years ago

If this issue is addressed it'll most likely fix the RHEL8 compatibility issues recently raised:

https://github.com/christiangda/ansible-role-amazon-cloudwatch-agent/issues/29

adamrotacentral commented 2 years ago

Any progress on this? I was really hoping to use this on my Raspberry Pi, but it only has Python 3.

jiimaho commented 2 years ago

Agree, would like this as well for Raspberry Pi (Python 3)

stuartbak-ucas commented 2 years ago

Is this project active/supported any more? Was looking for a Python3 implementation.