Can't install opencv-python 4.1.1 w/ gstreamer support in conda env

Hi there,

I noticed the python3 w/ my flash is using opencv-python 4.1.1 w/ gstreamer support, to support CSI camera in python, as below,

root@swalgo-desktop:/home/swalgo# python3 -c “import cv2; print(cv2.getBuildInformation())” | grep “GStreamer”
GStreamer: YES (1.14.5)
root@swalgo-desktop:/home/swalgo# python3 -c “import cv2; print(cv2.version)”
4.1.1

Whereas, when I want to install opencv-python 4.1.1 in my miniforge3 conda environment, it warn that this opencv-python version can not be found, as below, how can I install the opencv-python 4.1.1 w/ gstreamer support in my conda env?

(python38) swalgo@swalgo-desktop:~$ conda activate python38
(python38) swalgo@swalgo-desktop:~$ pip3 install opencv-python==4.1.1
ERROR: Could not find a version that satisfies the requirement opencv-python==4.1.1 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.14.53, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.2.54, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66)
ERROR: No matching distribution found for opencv-python==4.1.1

Thanks,
Bin

Hi,

Please noticed that the package included in the JetPack is built with python 3.6.
More, it requires our OTA feature to install rather than the pip3 tool.

Ex.

​​​​​$ echo "deb https://repo.download.nvidia.com/jetson/t194 r32.7 main" >> /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
$ sudo apt update
$ sudo apt install nvidia-opencv

Another alternative is to allow the global library to be seen within the environment.
Would you mind checking if the below workaround can meet your requirement or not?

Thanks.