擅长:python、mysql、java
<p>根据<code>pygame.camera</code>的<a href="https://www.pygame.org/docs/ref/camera.html" rel="nofollow noreferrer">documentation</a>:</p>
<blockquote>
<p>Pygame currently supports only Linux and v4l2 cameras.</p>
</blockquote>
<p>既然你用的是Mac而不是Linux,这是行不通的。对于将来,阅读您正在使用的库和模块的文档是非常有帮助的,因为这样的常见问题通常会得到解决。在</p>