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)”

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:,,,,,,,,,,,,,,,,,,,,,,,,,,
ERROR: No matching distribution found for opencv-python==4.1.1



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.


​​​​​$ echo "deb 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?


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.