π OpenHands: AI-Driven Development
doc: Add supplementary notes for WSL2 users to Local LLM Guide (#1031)
Z6b9316f7226a
diff --git a/docs/documentation/LOCAL_LLM_GUIDE.md b/docs/documentation/LOCAL_LLM_GUIDE.mdindex ba1377d8b7..14b9818821 100644--- a/docs/documentation/LOCAL_LLM_GUIDE.md+++ b/docs/documentation/LOCAL_LLM_GUIDE.md@@ -109,3 +109,29 @@ At this point everything should be set up and working properly.- In the first terminal `make start-backend`- In the second terminal `make start-frontend`5. you should now be able to connect to `http://localhost:3001/` with your local model running!+++## Additional Notes for WSL2 Users:++1. If you encounter the following error during setup: `Exception: Failed to create opendevin user in sandbox: b'useradd: UID 0 is not unique\n'`+You can resolve it by running:+ ```+ export SANDBOX_USER_ID=1000+ ```++2. If you face issues running Poetry even after installing it during the build process, you may need to add its binary path to your environment:+ ```+ export PATH="$HOME/.local/bin:$PATH"+ ```++3. If you experiencing issues related to networking, such as `NoneType object has no attribute 'request'` when executing `make run`, you may need to configure your WSL2 networking settings. Follow these steps:+ - Open or create the `.wslconfig` file located at `C:\Users\%username%\.wslconfig` on your Windows host machine.+ - Add the following configuration to the `.wslconfig` file:+ ```+ [wsl2]+ networkingMode=mirrored+ localhostForwarding=true+ ```+ - Save the `.wslconfig` file.+ - Restart WSL2 completely by exiting any running WSL2 instances and executing the command `wsl --shutdown` in your command prompt or terminal.+ - After restarting WSL, attempt to execute `make run` again. The networking issue should be resolved.\ No newline at end of file