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

Update to Python 3.x - xrange to range #1

Open
Yinshao-lzu opened this issue Mar 24, 2021 · 3 comments
Open

Update to Python 3.x - xrange to range #1

Yinshao-lzu opened this issue Mar 24, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@Yinshao-lzu
Copy link

Hello, this is an error when I used TimeSync. I have downloaded demo .tif and .geojson from GEE, but when I input command 'python tsl_gee_stack_unpacker.py E:\TimeSync\project\prep E:\TimeSync\project\images timesync_legacy_demo' in Anaconda Prompt, the error occur. Could you help me? Thanks.
QQ截图20210323220042
QQ截图20210323220450

@jdbcode
Copy link
Member

jdbcode commented Mar 24, 2021

Thanks for bringing the issue to our attention. As you may have figured out xrange is not available for Python 3.x - this code was developed using Python 2.x and has not been updated. range should be used. We will work to fix this soon.

@jdbcode jdbcode reopened this Mar 24, 2021
@jdbcode jdbcode added the bug Something isn't working label Mar 24, 2021
@jdbcode jdbcode changed the title TimeSync Error Update to Python 3.x - xrange to range Mar 24, 2021
@woimessestephane
Copy link

image
Bonjour j'ai une erreur , je ne sais pas si c'et lie a la version de python que j'ai:python 3.8? merci

@Sy1vaN-F0r3st
Copy link

I followed the instruction via the GitHub, however, I have been experiencing this error. Kindly assist with resolving this error. Thanks in advance for your kind assistance and l
pythonerror2
pythonerror
ooking forward to hearing from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants