question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running spinningup in Linux Subsystem on Windows (Success)

See original GitHub issue

For people who are on windows 10 and do not have linux but want to make things work.

  1. you can enable the WSL in your windows 10 following this.
  2. Install Xming X window server for windows from here. and make sure it is running.
  3. Once WSL is working : Open cmd, type in “bash”, this will switch the cmd to WSL terminal, then run the following it will enable GUI for WSL . Copied from this stackoverflow answer.
    sudo apt-get install x11-apps
    export DISPLAY=localhost:0.0 
    nano ~/.bashrc  #(add  export DISPLAY=localhost:0.0   at the end. Ctrl+X to exit/save)
    sudo apt-get install gnome-calculator #will get you GTK
  1. Download miniconda for linux from here. It will be an “.sh” file.
  2. from the terminal go to the folder you downloaded the file to and run “bash <name_of_downloaded_file>”, this will install conda.
  3. follow the spinningup tutorial for rest of installation.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:55
  • Comments:33 (5 by maintainers)

github_iconTop GitHub Comments

18reactions
daniele-nierocommented, May 13, 2019

Awesome! Thanks for doing this. I’ve updated the installation page to reference this issue, so others can follow your instructions.

Spinning Up should also work on Windows though. Limiting its usage to Linux and Mac means shutting the door to many potential users, contributors and people that eager to learn. Even if we all agree that Windows is a lesser system, we can’t deny that is widely spread one, one that teaching material such as Spinning Up shouldn’t ignore.

7reactions
jachiamcommented, Nov 12, 2018

Awesome! Thanks for doing this. I’ve updated the installation page to reference this issue, so others can follow your instructions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Windows Subsystem for Linux conference was a (virtual ...
Simple question: how is WSL2 that much better than simply spinning up a Linux VM from ISO directly? Is it just that WSL2...
Read more >
Troubleshooting Windows Subsystem for Linux | Microsoft Learn
Provides detailed information about common errors and issues people run into while running Linux on the Windows Subsystem for Linux.
Read more >
Installation — Spinning Up documentation - OpenAI
Spinning Up requires Python3, OpenAI Gym, and OpenMPI. Spinning Up is currently only supported on Linux and OSX. It may be possible to...
Read more >
Data Science on Windows Subsystem for Linux 2
Currently, you pretty much have to do everything through the command line terminal, file explorer, and apps that run in the browser (like ......
Read more >
does docker have a gui
The Windows Subsystem for Linux BUILD 2020 Summary. ... Once started successfully you shall see a green running icon as below, Please check...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found