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

No module named 'StringIO' #10

Open
nueverest opened this issue May 21, 2017 · 3 comments
Open

No module named 'StringIO' #10

nueverest opened this issue May 21, 2017 · 3 comments

Comments

@nueverest
Copy link

nueverest commented May 21, 2017

I'm using Python 3.6.1 and am getting a ModuleNotFoundError.

import StringIO
ModuleNotFoundError: No module named 'StringIO'

It seems the solution is:

try:
    from StringIO import StringIO
except ImportError:
    from io import StringIO

http://stackoverflow.com/a/18284900/1783439

@slivingston
Copy link
Contributor

I agree with your solution. The same patch was applied to launcher.py in PR #2, but it still needs to be applied other places in the package.

@carlthome
Copy link

carlthome commented Apr 4, 2018

Status on issue? pip3 install webcam-streamer; webcam-streamer doesn't work due to this atm.

@CHURLZ
Copy link

CHURLZ commented Aug 4, 2018

Make the same changes in streamer/init.py and it works, but I'm stuck on the next import atm... I'll PR the change once it's running!

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

4 participants