Skip to content
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

Why do I "must use WSL"? #3810

Open
MeNicefellow opened this issue Sep 10, 2024 · 12 comments
Open

Why do I "must use WSL"? #3810

MeNicefellow opened this issue Sep 10, 2024 · 12 comments
Labels
enhancement New feature or request

Comments

@MeNicefellow
Copy link

You already use docker. Then why WSL as well??

@MeNicefellow MeNicefellow added the enhancement New feature or request label Sep 10, 2024
@Polygons1
Copy link

I am using it on Windows without WSL

@MeNicefellow
Copy link
Author

I am using it on Windows without WSL

They should update their README. Cuz they say for Windows, WSL must be used.

@enyst
Copy link
Collaborator

enyst commented Sep 11, 2024

WSL is necessary, sorry, for the project to work well. WSL is a Linux system for Windows, and that's what the project is compatible with. openhands works on Mac, Linux, and as for Windows, under WSL.

In practice, it might or not work without WSL, but we don't support that configuration, we don't have it and don't test on it I believe, and we might not be able to help you with it. I suggest to install WSL and use openhands on it, or a regular Linux.

@MeNicefellow
Copy link
Author

WSL is necessary, sorry, for the project to work well. WSL is a Linux system for Windows, and that's what the project is compatible with. openhands works on Mac, Linux, and as for Windows, under WSL.

In practice, it might or not work without WSL, but we don't support that configuration, we don't have it and don't test on it I believe, and we might not be able to help you with it. I suggest to install WSL and use openhands on it, or a regular Linux.

Why doesn't Docker only work?

@enyst
Copy link
Collaborator

enyst commented Sep 11, 2024

From what I recall, we've seen problems from the fact that openhands mounts a folder on the local machine, to be its workspace, where it creates files, edits files, deletes stuff etc. On a Windows machine, we have seen issues with libraries, function calls, etc, necessary to do stuff like that. Also, the user the app runs as, the permissions on those files etc, might or not work. I could perhaps add that openhands has two docker containers, one for the external app to run, and another, the runtime that executes the actions.

I believe there are users who use it nevertheless, on Windows without WSL, or have in the past. I don't have a Windows machine and I'm not sure if/what they needed to do or work around. If you want to try it, please feel free to, and I believe we would accept documentation on it. We just don't support it or recommend it.

@Polygons1
Copy link

WSL is necessary, sorry, for the project to work well.

I've tried with WSL first and WSL crashed, that's the only reason I am using it on Windows

@enyst
Copy link
Collaborator

enyst commented Sep 12, 2024

@Polygons1 Could you please open an issue and fill in the template? As complete as possible, with all information and logs you can, it helps to figure out the problem.

@Polygons1
Copy link

the problem is that there is nothing, no logs, nothing, just a shutdown of wsl.

@enyst
Copy link
Collaborator

enyst commented Sep 12, 2024

A shutdown of WSL or do you mean a shutdown of the openhands application?

@Polygons1
Copy link

of WSL and I think that’s a Docker issue and not OpenHands

@enyst
Copy link
Collaborator

enyst commented Sep 12, 2024

Yes, that's likely. You can install docker on WSL, and run openhands in WSL.
I understand it can work with docker on Windows and openhands in WSL, I've never tried it, but others have.

Whichever solution you choose, can you try to fix docker so that it works normally then run openhands?

@Polygons1
Copy link

I think I’ve fixed it now, I don’t know what I did but it worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants