- Create a conda environment in the wsl - conda create --name blabla
- Activate the conda environment - conda activate blabla
- Install python - conda install python=3.9
- Install opencv - pip install opencv-python
- Install matplotlib - pip install matplotlib
- Open pycharm
- Create python project
- Create interpreter - wsl and point to the python3 executable in the environment
usually located in anaconda3/envs/myenv/bin/python3