Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import range #1

Open
ncrollo opened this issue Jan 3, 2020 · 1 comment
Open

Failed to import range #1

ncrollo opened this issue Jan 3, 2020 · 1 comment

Comments

@ncrollo
Copy link

ncrollo commented Jan 3, 2020

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
Copy link

diyarit commented Jun 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants