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

cannot import name 'import_string' from 'werkzeug' when trying to download imageries #8

Closed
rochanofa opened this issue Jul 10, 2022 · 3 comments

Comments

@rochanofa
Copy link

rochanofa commented Jul 10, 2022

there is an error with werkzeug when trying to download the imageries. I am running shaft on Python 3.9 on WSL (Ubuntu for Windows).
I installed the dependencies through conda.
Here's the screenshot of the error:
image

@LllC-mmd
Copy link
Owner

LllC-mmd commented Jul 24, 2022

Thanks for your interest in SHAFTS.
We have tested the deployment of SHAFTS on WSL (Ubuntu 18.04 for Windows) with Python 3.9 from Anaconda and no error related to GEE image downloading has been reported.

ex

And our conda environment can be listed as follows

env

If you don't install SHAFTS by conda, we recommend you do so.

We also have searched for possible causes of the mentioned problem and found it may be related to other packages such as flask.

@sunt05
Copy link
Collaborator

sunt05 commented Jul 25, 2022

Thanks @LllC-mmd for looking into the issue.

It would be good to export the py39 env as yml file (e.g. env.yml) so others can set it up using

conda env create -f env.yml

@sunt05
Copy link
Collaborator

sunt05 commented Dec 13, 2023

This issue should now be resolved.

@rochanofa, please reopen this if any further questions arise.

@sunt05 sunt05 closed this as completed Dec 13, 2023
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

3 participants