recourses:

https://github.com/openai/spinningup/issues/404

I succeeded in running Spinning Up on Windows 11 via WSL 2.

The procedure linked in the official page (https://github.com/openai/spinningup/issues/23) did not work for me. Also, it is not necessary to use Xming X Window server anymore.

This is what I did:

  1. From Microsoft Store, install: Windows Subsystem for Linux
  2. From Microsoft Store, install: Ubuntu
  3. Launch Ubuntu to finish installation and configuration
  4. From Ubuntu command line: sudo apt update, then sudo apt full-upgrade
  5. sudo apt install x11-apps
  6. sudo apt install octave (via this step the packets necessary for the rendering parts are installed)
  7. Download Miniconda3 Linux 64 bit (most recent one) from here https://docs.conda.io/projects/miniconda/en/latest/miniconda-other-installer-links.html (it's a .sh file)
  8. Copy the Miniconda installer in a Linux path (e. g. under /home)
  9. From Linux command line, install Miniconda with "bash [filename].sh"
  10. Close and reopen Ubuntu terminal
  11. conda create -n spinningup python=3.6
  12. conda activate spinningup
  13. conda install -c conda-forge mpi4py mpich
  14. pip install opencv-python==3.4.13.47 (more recent versions might not work)