3

I'm using the camera.py file from the examples folder supplied with pygame.

Unfortunately, every time I try to run camera.py, it shows this error message:

Traceback (most recent call last):
  File "camera.py", line 92, in <module>
    main()
  File "camera.py", line 87, in main
    pygame.camera.init()
  File "/usr/local/lib/python3.3/site-packages/pygame/camera.py", line 42, in init
    from pygame import _camera
ImportError: cannot import name _camera

I'm assuming that this means _camera.py is missing, though I'm not too sure. Any help?

4

1 に答える 1