mobidic / SEAL

SEAL db - Simple, Efficient And Lite database for NGS
GNU General Public License v3.0
8 stars 1 forks source link

ImportError: cannot import name 'escape' from 'jinja2' #20

Closed thomasguignard closed 1 year ago

thomasguignard commented 2 years ago

Hello, I get this error when I run flask run

ImportError: cannot import name 'escape' from 'jinja2'

Dependancy is flask=1.1.2 which seems guilty.

Suggestion to update to flask V2: https://stackoverflow.com/questions/71718167/importerror-cannot-import-name-escape-from-jinja2

Char-Al commented 2 years ago

I cannot reproduce this error. I will investigate and update the dependencies is certainly a great idea ;)

Thanks for reporting this issue.

thomasguignard commented 2 years ago

May you publish here your pip list output in seal env?

Char-Al commented 2 years ago

As it is developed in the README, you only need this conda environment: https://github.com/mobidic/SEAL/blob/main/environment.yml

Char-Al commented 1 year ago

After investigating, it seems that the problem is related to an incompatible dependency.

You can find the list of dependencies and their version requirements in the documentation or in the environment.yml file.

Closing this issue now, but if you are still experiencing issues, please feel free to reopen this issue or open a new issue with more information about your environment and the steps you've taken to troubleshoot the problem.