mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-25 21:36:52 +08:00
* docs(docs): start implementing docs website * update video url * add autogenerated codebase docs for backend * precommit * update links * fix config and video * gh actions * rename * workdirs * path * path * fix doc1 * redo markdown * docs * change main folder name * simplify readme * add back architecture * Fix lint errors * lint * update poetry lock --------- Co-authored-by: Jim Su <jimsu@protonmail.com>
1.4 KiB
1.4 KiB
Notes for Windows and WSL Users
OpenDevin only supports Windows via WSL. Please be sure to run all commands inside your WSL terminal.
Troubleshooting
Failed to create opendevin user
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
Poetry Installation
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"
NoneType object has no attribute 'request'
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
.wslconfigfile located atC:\Users\%username%\.wslconfigon your Windows host machine. - Add the following configuration to the
.wslconfigfile:
[wsl2]
networkingMode=mirrored
localhostForwarding=true
- Save the
.wslconfigfile. - Restart WSL2 completely by exiting any running WSL2 instances and executing the command
wsl --shutdownin your command prompt or terminal. - After restarting WSL, attempt to execute
make runagain. The networking issue should be resolved.