Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4782

Camera board • Re: TypeError: from_ndarray() got an unexpected keyword argument 'width' error when running Pi Camera 3 with venv and Po

$
0
0
I can't really see any explanation for this other than that you're picking up an incorrect version of PyAV from somewhere. Could you:

* Confirm that it works OK when you're not using poetry? It should just work "out of the box" on a clean image.
* Did you at any point install PyAV yourself (e.g. using pip)?
* Can you check what the following reports?

Code:

import avav.__path__av.VideoFrame.from_ndarray.__doc__
The latter should show a "width" parameter.

Thanks!

Statistics: Posted by therealdavidp — Mon Mar 11, 2024 9:15 am



Viewing all articles
Browse latest Browse all 4782

Trending Articles