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 #12

Open
SA7BNT opened this issue Dec 17, 2018 · 1 comment
Open

ImportError #12

SA7BNT opened this issue Dec 17, 2018 · 1 comment

Comments

@SA7BNT
Copy link

SA7BNT commented Dec 17, 2018

Im running in at some Import error. Some one can help me out?

sa7bnt@owncloud:~$ webcam-streamer

--------------- webcam-streamer ---------------

webcam-streamer: Checking requirements...
webcam-streamer: Reading config...
Traceback (most recent call last):
File "/usr/local/bin/webcam-streamer", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/webcamstreamer/launcher.py", line 43, in main
from .streamer.defaults import defaults
File "/usr/local/lib/python3.5/dist-packages/webcamstreamer/streamer/init.py", line 24, in
from flask.ext.socketio import SocketIO, emit
ImportError: No module named 'flask.ext'
sa7bnt@owncloud:~$

Best
Tim

@kanokkorn
Copy link

@SA7BNT try to change line from

from flask.ext.socketio import SocketIO, emit

to

from flask_socketio import SocketIO, emit

Let's see if it can help.

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