# \#python

**URL:** https://forum.opencv.org/tag/python/219.md

[Latest](https://forum.opencv.org/latest.md) · [Categories](https://forum.opencv.org/categories.md) · [Tags](https://forum.opencv.org/tags.md)

---

## [Cv2 imshow() and destroyAllWindows()](https://forum.opencv.org/t/cv2-imshow-and-destroyallwindows/14881)

<div class="topic-metadata">

**Author:** [@suraj](https://forum.opencv.org/u/suraj)\
**Replies:** 3\
**Last updated:** [October 16, 2023, 10:40am UTC](https://forum.opencv.org/t/cv2-imshow-and-destroyallwindows/14881 "2023-10-16T10:40:07Z")

</div>

I am getting these errors and i am trying but cant find the exact solution any help will be greatful. (cv2.imshow(‘Original’, color\_image) AttributeError: module ‘cv2’ has no attribute ‘imshow’ During handling of the …

---

## [Module 'cv2' has no attribute 'INTER\_AREA'](https://forum.opencv.org/t/module-cv2-has-no-attribute-inter-area/13821)

<div class="topic-metadata">

**Author:** [@parsman\_lin](https://forum.opencv.org/u/parsman_lin)\
**Replies:** 4\
**Last updated:** [July 13, 2023, 5:53am UTC](https://forum.opencv.org/t/module-cv2-has-no-attribute-inter-area/13821 "2023-07-13T05:53:51Z")

</div>

I have problem starting zoneminder command when it gives error AttributeError: module ‘cv2’ has no attribute ‘INTER\_AREA’ sudo -u www-data /var/lib/zmeventnotification/bin/zm\_detect.py 1 1 Traceback (most recent call la…

---

## [Get same results in C++ and python code](https://forum.opencv.org/t/get-same-results-in-c-and-python-code/13656)

<div class="topic-metadata">

**Author:** [@laurent.berger](https://forum.opencv.org/u/laurent.berger)\
**Replies:** 5\
**Last updated:** [June 24, 2023, 6:04pm UTC](https://forum.opencv.org/t/get-same-results-in-c-and-python-code/13656 "2023-06-24T18:04:09Z")

</div>

Hi, I translate python code in C++. I check result in python and c++ and sometimes it’s difficult to get same result. example python code import numpy as np import cv2 as cv xf = np.array(\[38.4, 40.7\]) xi = xf.astype…

---

## [Install OpenCV (Win + Python) - Module not found error: no module named 'cv2'](https://forum.opencv.org/t/install-opencv-win-python-module-not-found-error-no-module-named-cv2/6385)

<div class="topic-metadata">

**Author:** [@efoiobr](https://forum.opencv.org/u/efoiobr)\
**Replies:** 0\
**Last updated:** [November 23, 2021, 2:19pm UTC](https://forum.opencv.org/t/install-opencv-win-python-module-not-found-error-no-module-named-cv2/6385 "2021-11-23T14:19:50Z")

</div>

Hi, I installed Visual Studio and Microsoft Visual Studios shared Python37\_64. Then I downloaded the OpenCV source code to build it by my own via CMake (with Python3). After compiling and building the project file (ALL\_B…

---

## [Cannot open file 'python39\_d.lib'](https://forum.opencv.org/t/cannot-open-file-python39-d-lib/6932)

<div class="topic-metadata">

**Author:** [@NeoDreamer](https://forum.opencv.org/u/NeoDreamer)\
**Replies:** 2\
**Last updated:** [January 2, 2022, 2:42pm UTC](https://forum.opencv.org/t/cannot-open-file-python39-d-lib/6932 "2022-01-02T14:42:25Z")

</div>

I try to build opencv 4.5.5 with python 3.9 on Visual Studio 2022 Community edition. The configuration with CMake v3.22.1 is successfully. And the build is almost fine. But I’ve got an error. Error LNK1104 cannot open…

---

## [Building Debug Version of OpenCV](https://forum.opencv.org/t/building-debug-version-of-opencv/6685)

<div class="topic-metadata">

**Author:** [@dcox](https://forum.opencv.org/u/dcox)\
**Replies:** 2\
**Last updated:** [December 12, 2021, 5:28pm UTC](https://forum.opencv.org/t/building-debug-version-of-opencv/6685 "2021-12-12T17:28:30Z")

</div>

I have successfully downloaded OpenCV source, configured CMake, and generated build files for Visual Studio 2019/Windows 10. I load the solution without any issue and the build proceeds without any issue. However, when t…

---

## [Building OpenCv on Jetson Nano B01](https://forum.opencv.org/t/building-opencv-on-jetson-nano-b01/4069)

<div class="topic-metadata">

**Author:** [@phoenix](https://forum.opencv.org/u/phoenix)\
**Replies:** 9\
**Last updated:** [July 1, 2021, 8:01am UTC](https://forum.opencv.org/t/building-opencv-on-jetson-nano-b01/4069 "2021-07-01T08:01:38Z")

</div>

Hi all, I need to compile OpenCV for Python 3.9 on Jetson Nano (ARM) to be able to get gstreamer support, which isn’t available from the PyPi wheel. I’ve successfully build python 3.9.5 with static and shared libs and …
