python pygame.camera.init() NO vidcapture

I met the same problem. The error info of "ImportError: No module named vidcap" indicates that python interpreter didn't find the vidcap module on you machine.

so you'd better follow these steps.

  1. Download the vidcap from http://videocapture.sourceforge.net/

2.Then copy the corresponding version of dll (which named "vidcap.pyd" in VideoCapture-0.9-5\VideoCapture-0.9-5\Python27\DLLs) to "your python path"\DLLs\ .

3.restart you script.

Done!.


The camera module can only be used on linux


I met the same problem but I found out that its not included on windows ONLY LINUX