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 'secure_filename' from 'werkzeug' #10

Closed
hakube opened this issue Feb 21, 2020 · 2 comments
Closed

ImportError: cannot import name 'secure_filename' from 'werkzeug' #10

hakube opened this issue Feb 21, 2020 · 2 comments

Comments

@hakube
Copy link

hakube commented Feb 21, 2020

Can you help me fix this, I'm getting this error

Traceback (most recent call last): File "/home/jacob/.local/bin/scout", line 11, in <module> load_entry_point('scout==3.0.2', 'console_scripts', 'scout')() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point return ep.load() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2318, in load return self.resolve() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2324, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/home/jacob/.local/lib/python3.6/site-packages/scout/server.py", line 10, in <module> from scout.models import database File "/home/jacob/.local/lib/python3.6/site-packages/scout/models.py", line 14, in <module> from werkzeug import secure_filename ImportError: cannot import name 'secure_filename'

@coleifer
Copy link
Owner

You need to upgrade your scout.

@coleifer
Copy link
Owner

Actually that's my bad - I needed to tag a new release. 3.0.3

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