You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If somebody is still using this, and needs to use python 3.10, then this will popup:
python3 ./securityheaders.py ─╯
Traceback (most recent call last):
File "/root/securityheaders/./securityheaders.py", line 6, in <module>
import securityheaders.command_line
File "/root/securityheaders/securityheaders/__init__.py", line 11, in <module>
from .securityheader import SecurityHeaders
File "/root/securityheaders/securityheaders/securityheader.py", line 22, in <module>
from securityheaders.formatters import FindingFormatterFactory
File "/root/securityheaders/securityheaders/formatters/__init__.py", line 1, in <module>
from .findingformatterfactory import FindingFormatterFactory, FindingFormatter, FindingFormatterTabulated, FindingFormatterCSV
File "/root/securityheaders/securityheaders/formatters/findingformatterfactory.py", line 5, in <module>
from tabulate import tabulate
File "/usr/local/lib/python3.10/dist-packages/tabulate.py", line 16, in <module>
from collections import Iterable
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.10/collections/__init__.py)
You needs to update the requirements.txt and install tabulate 0.9.0. It fix the problem:
Hi,
If somebody is still using this, and needs to use python 3.10, then this will popup:
You needs to update the requirements.txt and install tabulate 0.9.0. It fix the problem:
The text was updated successfully, but these errors were encountered: