OpenCV

Hi! Trying very hard to get opencv to work in the nvidia tensorflow container, but my jupyter notebook perpetually says ImportError: No module named ‘cv2’ after I run apt-get install python-opencv

What is the best way to make this work? is there a container image with this already figured out?

I was eventually able to get this working with

pip install opencv-python
apt update && apt install -y libsm6 libxext6
sudo apt-get install libsm6 libxrender1 libfontconfig1

When trying pip install opencv-python I get “Could not find a version that satisfies the requirement opencv-python (from versions: ) No matching distribution found for opencv-python”

Why would it break? It was working OK