noodleman999
September 21st, 2011, 11:29 AM
Okay, i'm making a program that takes a image from your webcam and shows it on the screen.
But, when i try to import, and init it.
It gives me this error
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\NetBeansProjects\ Webcams\src\webcams_host.py", line 7, in <module>
pygame.camera.init()
File "c:\Python27\lib\site-packages\pygame\camera.py", line 43, in init
colorspace = _camera.colorspace
NameError: global name '_camera' is not defined
Any help please? X_X
But, when i try to import, and init it.
It gives me this error
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\NetBeansProjects\ Webcams\src\webcams_host.py", line 7, in <module>
pygame.camera.init()
File "c:\Python27\lib\site-packages\pygame\camera.py", line 43, in init
colorspace = _camera.colorspace
NameError: global name '_camera' is not defined
Any help please? X_X