- Install
miniconda
from (https://docs.conda.io/en/latest/miniconda.html) - Install
mamba
withconda install mamba -n base -c conda-forge
- Install the forge with
mamba install xtensor-r -c conda-forge
- Install Jupyter NB with
mamba install -c conda-forge jupyterlab
- Install some packages
mamba install -c conda-forge pandas matplotlib seaborn numpy
- Run with
jupyter-lab
or in VSCode
mamba install -c conda-forge opencv
However, because opencv comes as a compiled modules, we need the correct stub until MS has it working, so do that :
curl -sSL https://raw.githubusercontent.com/bschnurr/python-type-stubs/add-opencv/cv2/__init__.pyi >> cv2.pyi
Then copy the file to path reported by the following code :
import cv2 as cv2
import os
print(os.path.dirname(cv2.__file__))
Relaunch the Jupyter interpreter and voilà, Intellisense working