SecurityFTW / cs-suite

Cloud Security Suite - One stop tool for auditing the security posture of AWS/GCP/Azure infrastructure.
GNU General Public License v3.0
1.14k stars 216 forks source link

Unable to install CS-Suite with Pyton3 #78

Open avijitsarkar22 opened 2 years ago

avijitsarkar22 commented 2 years ago

Hi Team,

I am unable to install CS-Suite, getting below error:

File "/Users/avijit.sarkar/cs-suite/cs.py", line 6, in from modules import logger File "/Users/avijit.sarkar/cs-suite/modules/logger.py", line 17, in formatter = CustomJsonFormatter('(timestamp) (level) (name) (message)') File "/opt/homebrew/lib/python3.10/site-packages/pythonjsonlogger/jsonlogger.py", line 119, in init logging.Formatter.init(self, *args, **kwargs) File "/opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/init.py", line 589, in init self._style.validate() File "/opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/logging/init.py", line 429, in validate raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0])) ValueError: Invalid format '(timestamp) (level) (name) (message)' for '%' style


Environment: Python 3.10.6 pip 22.2.2 virtualenv 20.16.5

mamoona-aslam commented 1 year ago

this works for python2.7 as i also faced the same issue. the maintainer of the repository can correct me if i am wrong