New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running spinningup in Linux Subsystem on Windows (Success) #23

Closed
ibrahiminfinite opened this Issue Nov 12, 2018 · 6 comments

Comments

Projects
None yet
7 participants
@ibrahiminfinite
Copy link

ibrahiminfinite commented Nov 12, 2018

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.

@ibrahiminfinite ibrahiminfinite changed the title Running spinningup on Linux Subsystem Windows (Success) Running spinningup in Linux Subsystem on Windows (Success) Nov 12, 2018

@jachiam

This comment has been minimized.

Copy link
Collaborator

jachiam commented Nov 12, 2018

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

@jachiam jachiam closed this Nov 12, 2018

@TheoryofEverthing

This comment has been minimized.

Copy link

TheoryofEverthing commented Nov 13, 2018

Thanks!

@mikeydavison

This comment has been minimized.

Copy link

mikeydavison commented Nov 16, 2018

Works as advertised. I did have to install Open GL prior to running the animated examples though. The exact name of the package escapes me but it is explicitly mentioned in the error message that occurred when running the example. Fantastic work here. Thanks for sharing!

@debadeepta

This comment has been minimized.

Copy link

debadeepta commented Nov 20, 2018

It was this package: sudo apt-get install python-opengl

@FernandoTN

This comment has been minimized.

Copy link

FernandoTN commented Jan 29, 2019

Thanks, so far so good.

@rastringer

This comment has been minimized.

Copy link

rastringer commented Feb 8, 2019

This is fantastic, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment