Nuacht

In an IDE with code suggestion (VS Code for instance) try to type import cv2, then write cv2. and see if suggestions appear. If they do your Python installation can successfully access OpenCV.
Once this is done, then python import statements worked properly. This problem only appeared in WSL2 Linux, normal Windows anaconda prompt has no such issue. UPDATE: ...
Anaconda, Inc., a Python data science platform provider, is partnering with Microsoft to embed Anaconda into Azure Machine Learning, Visual Studio and SQL Server to deliver data insights in real time.