# Error for Compiling OpenCV with Gstreamer Backend

**URL:** <https://forum.opencv.org/t/error-for-compiling-opencv-with-gstreamer-backend/11017>\
**Category:** Uncategorized\
**Created:** [November 17, 2022, 4:22pm UTC](https://forum.opencv.org/t/error-for-compiling-opencv-with-gstreamer-backend/11017 "2022-11-17T16:22:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adriiien](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Adriiien](https://forum.opencv.org/u/Adriiien)\
**Post date:** [November 17, 2022, 4:22pm UTC](https://forum.opencv.org/t/error-for-compiling-opencv-with-gstreamer-backend/11017/1 "2022-11-17T16:22:35Z")

</div>

Hello everyone,

I tried to use a bunch of commands in order to launch librairies for using Yolov5 neuron network on a monitoring robot.

I created a virtual environment for Python entitled `nameVirtualEnv`

The following commands :

```auto
git clone --recursive https://github.com/skvark/opencv-python.git
cd opencv-python
export CMAKE_ARGS="-DWITH_GSTREAMER=ON"
pip install --upgrade pip wheel
# this is the build step - the repo estimates it can take from 5 
# mins to > 2 hrs depending on your computer hardware
pip wheel . --verbose
pip install opencv_python*.whl

```

but when I’m running `pip wheel . --verbose` I get the error

`Command errored out with exit status 1: /home/adrien/yolov5/nameVirtualEnv/bin/python3.9 /tmp/tmpf63r3igz_in_process.py get_requires_for_build_wheel /tmp/tmput89_dig Check the logs for full command output.`

Is there a command to run so as to avoid this behaviour please ?

Thanks in advance
