Hi QC Team & Community,

I'm facing a critical issue with the official quantconnect/lean:foundation and quantconnect/lean:latest Docker images on Windows 11.

Core Problem & Evidence: The essential Python packages clr-loader and pythonnet appear to be missing from the Python environment within these images.

  • This was confirmed by running docker run --rm quantconnect/lean:<tag> pip list for both foundation and latest tags – neither clr-loader nor pythonnet were listed in the output.
  • As a result, any Python script attempting to initialize Python.NET (e.g., via from clr_loader import get_coreclr) fails with ModuleNotFoundError: No module named 'clr_loader'.
  • This, in turn, prevents any QuantConnect modules from being imported.

Troubleshooting Done:

  • Multiple docker pull attempts for both tags.
  • The issue persists even after a full Windows OS reinstallation and a fresh Docker Desktop setup.

Impact: This effectively breaks the ability to run any Python-based algorithms locally using these official Docker images and prevents successful PyCharm integration.

Questions:

  1. Is this a known issue with the current official builds for these image tags?
  2. Are other users experiencing this absence of clr-loader and pythonnet?
  3. Is there a recommended stable Docker image tag that is confirmed to include these necessary Python dependencies?

Any insights or a fix would be greatly appreciated, as this is a complete blocker.