letmaik / pyvirtualcam

🎥 Send frames to a virtual camera from Python
GNU General Public License v2.0
455 stars 49 forks source link

AttributeError: module 'pyvirtualcam' has no attribute 'Camera' #7

Closed remingtonkim closed 3 years ago

remingtonkim commented 3 years ago

I am trying to use pyvirtualcam to set up a virtual camera; however, I get this error every time I try to run my code.

AttributeError: module 'pyvirtualcam' has no attribute 'Camera'

I have installed obs-virtualcam and all necessary dependencies, but this error still occurs. Does anyone know why this is happening?

letmaik commented 3 years ago

Can you give more details on your environment and how you installed the package? It is unlikely an issue with the package.

remingtonkim commented 3 years ago

I ended up figuring out what the issue was. I was working in a python 3.5 environment, which was causing the error. Once I upgraded to python 3.6, everything worked smoothly. Cheers!