ins1gn1a / WatchGuard-Config-Parser

XML configuration parser for WatchGuard firewalls
4 stars 1 forks source link

Failed to import range #1

Open ncrollo opened 4 years ago

ncrollo commented 4 years ago

Hey, thanks for the script. Had an issue running on Win10/Py3.8

Traceback (most recent call last):
  File ".\watchparse.py", line 7, in <module>
    from openpyxl.compat import range
ImportError: cannot import name 'range' from 'openpyxl.compat'

Seemed to be fixed by commenting out line #7 #from openpyxl.compat import range

diyarit commented 1 year ago

hi there change the following imports

import sys import xml.etree.ElementTree as ET

from openpyxl import Workbook

from openpyxl.utils import get_column_letter

from datetime import datetime