lego Tools for LEGO Python environment in VSCode Open the Command Palette (⇧⌘P) search for the Python: Create Environment command Select Conda Select Python 3.12