File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 1- .PHONY : test setup miniwob lint stop-miniwob
1+ .PHONY : test setup miniwob lint stop-miniwob osworld
22
33setup :
44 @pip install -e .
@@ -30,3 +30,23 @@ test: setup miniwob check-miniwob run-tests stop-miniwob
3030lint : setup
3131 @black src/ --check --diff
3232 @darglint -v 2 -z short src/
33+
34+ osworld :
35+ @echo " Setting up OSWorld..."
36+ @git clone https://github.com/xlang-ai/OSWorld || true
37+ @echo " Modifying OSWorld requirements.txt to remove pinned versions..."
38+ @cd OSWorld && \
39+ sed -i.bak ' s/numpy~=.*/numpy/' requirements.txt && \
40+ sed -i.bak ' s/torch~=.*/torch/' requirements.txt && \
41+ sed -i.bak ' s/torch$$/torch/' requirements.txt && \
42+ sed -i.bak ' s/tqdm~=.*/tqdm/' requirements.txt && \
43+ sed -i.bak ' s/pandas~=.*/pandas/' requirements.txt
44+ @echo " Installing OSWorld requirements..."
45+ @cd OSWorld && pip install -r requirements.txt
46+ @echo " Installing OSWorld in development mode..."
47+ @cd OSWorld && pip install -e .
48+ @echo " OSWorld setup completed!"
49+ @echo " Next steps:"
50+ @echo " 1. Configure your VM (VMware/VirtualBox) according to OSWorld documentation"
51+ @echo " 2. Download or set up the Ubuntu VM image"
52+ @echo " 3. Run AgentLab with OSWorld tasks"
You can’t perform that action at this time.
0 commit comments