[英]Web streaming using Raspberry pi 3 model b and picam
I am trying to stream video in web using Raspi cam. 我正在尝试使用Raspi cam在Web中流式传输视频。 I am using a code from internet but it has an error and it shows this, 我正在使用来自互联网的代码,但有一个错误,它显示了这一点,
Traceback (most recent call last):
File "picam.py", line 8, in <module>
import socketserver
ImportError: No module named socketserver
I don't know what to do. 我不知道该怎么办。 Help me please? 请帮帮我? THANKYOUUUU! THANKYOUUUU! The code I'm using is in http://picamera.readthedocs.io/en/latest/recipes2.html#web-streaming (4.10 WEB STREAMING) 我正在使用的代码位于http://picamera.readthedocs.io/en/latest/recipes2.html#web-streaming(4.10 WEB流)
You are most probably using Python2 which has SocketServer
. 您很可能正在使用具有SocketServer
Python2。
I'll recommend that you use Python3 which has socketserver
. 我建议您使用具有socketserver
。
Reference -> No Module Named ServerSocket 参考-> 没有名为ServerSocket的模块
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.