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

from werkzeug.utils import safe_join #450

Closed
Sadvarsco opened this issue Jun 27, 2023 · 1 comment
Closed

from werkzeug.utils import safe_join #450

Sadvarsco opened this issue Jun 27, 2023 · 1 comment

Comments

@Sadvarsco
Copy link

This is the error I get trying to run the visualizer

sudo python3 /home/Piano-LED-Visualizer/visualizer.py
Socket listening on: 192.168.2.10:8765
Traceback (most recent call last):
File "/home/Piano-LED-Visualizer/visualizer.py", line 17, in
from webinterface import webinterface
File "/home/Piano-LED-Visualizer/webinterface/init.py", line 43, in
from webinterface import views_api
File "/home/Piano-LED-Visualizer/webinterface/views_api.py", line 3, in
from werkzeug.utils import safe_join
ImportError: cannot import name 'safe_join' from 'werkzeug.utils' (/usr/lib/pyth on3/dist-packages/werkzeug/utils.py)

Can anyone help me? I think if I just disable web interface itll work, but I was planning on relying on that.

@Sadvarsco
Copy link
Author

I ended up changing "werkzeug.utils" to "werkzeug.security"

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

1 participant