import pyfakewebcam
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyfakewebcam/init.py", line 3, in <module>
from pyfakewebcam.pyfakewebcam import FakeWebcam
File "pyfakewebcam/pyfakewebcam.py", line 8, in <module>
import pyfakewebcam.v4l2 as _v4l2
ImportError: No module named v4l2
在init.py 和 pyfakewebcam.py文件最前面加上
from future import absolute_import