# CMI camera stopped working after opencv & python upgrade

**URL:** <https://forums.developer.nvidia.com/t/cmi-camera-stopped-working-after-opencv-python-upgrade/170068>\
**Category:** NVWMI\
**Tags:** camera\
**Created:** [March 4, 2021, 2:18pm UTC](https://forums.developer.nvidia.com/t/cmi-camera-stopped-working-after-opencv-python-upgrade/170068 "2021-03-04T14:18:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amejbil](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@amejbil](https://forums.developer.nvidia.com/u/amejbil)\
**Post date:** [March 4, 2021, 2:18pm UTC](https://forums.developer.nvidia.com/t/cmi-camera-stopped-working-after-opencv-python-upgrade/170068/1 "2021-03-04T14:18:56Z")

</div>

Hi,  
Forgive me as i am new to the jetson nano. I have upgraded openCV and python to the latest versions, the USB cam is working fine, however the CMI camera is throwing the following error: (-215 error: (-215:Assertion failed) size.width\>0 && size.height\>0 in function ‘imshow’). When I switch the interpreter to the default system version of python (3.6) everything is working fine. Any idea what went wrong during the upgrade and how to fix it. many thanks
