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

ImportError: cannot import name 'safe_join' from 'flask' #14

Open
mufeili opened this issue Apr 18, 2022 · 0 comments
Open

ImportError: cannot import name 'safe_join' from 'flask' #14

mufeili opened this issue Apr 18, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mufeili
Copy link
Member

mufeili commented Apr 18, 2022

Since 2.1.0, flask deprecates safe_join, as elaborated in its release note here. For now, a workaround is to degrade flask to an older version like pip install Flask==2.0.3. This should be fixed in the future release of GNNLens2 by either restricting Flask version or follow the latest recommended practice.

Credit to @SherylHYX for reporting the issue.

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

1 participant