GUI-ReWalk icon indicating copy to clipboard operation
GUI-ReWalk copied to clipboard

ModuleNotFoundError: 'gui_rewalk.env' not found due to directory structure mismatch

Open LongkunHao opened this issue 1 year ago • 5 comments

Hi, thank you for this impressive work! I am trying to run the run_random_walker.sh script following the README, but I encountered a ModuleNotFoundError. It seems there is a mismatch between the import statements in the code and the actual directory structure in the repository. The Error The code attempts to import from gui_rewalk.env:

In run_random_walker.py (and potentially other files)

from gui_rewalk.env.desktop_gui_gen_env import DesktopGUIGenEnv from gui_rewalk.env.gui_gen_agent import GUIGenAgent from gui_rewalk.env.gui_detector import GUIDecorator Directory Structure However, inspecting the repository structure, there is no env folder directly under gui_rewalk/. Instead, there is a src folder. Current structure:

GUI-ReWalk/ ├── gui_rewalk/ │ ├── src/ <-- The code seems to be here? │ │ ├── core/ │ │ ├── utils/ │ │ └── ... │ └── (No 'env' folder here) ├── run_random_walker.py └── ... Steps to Reproduce Clone the repository. Install dependencies (OSWorld, OmniParser). Set up PYTHONPATH. Run bash run_random_walker.sh. Expected Behavior The script should import DesktopGUIGenEnv correctly. Possible Solution It seems the code needs to be updated to reflect the new structure (e.g., from gui_rewalk.src.env...) or the env folder is missing from the commit. Could you please help check this? Thanks!

LongkunHao avatar Dec 03 '25 08:12 LongkunHao

没有开源全么

icey-zhang avatar Dec 13 '25 01:12 icey-zhang

是的,感觉缺少了必要的class

LongkunHao avatar Dec 14 '25 03:12 LongkunHao

+1 疑似没有开源 Agent 的部分

SummerFall1819 avatar Dec 16 '25 16:12 SummerFall1819

Thanks for your attention, it seems like a dumb bug that we miss the env folder when pushing, we'll double check the env tutorial and fix bugs~ Please stay tuned.

Taoran-Lu avatar Jan 28 '26 06:01 Taoran-Lu

Hi, we've already solved this bug. Thanks for your feedback! @LongkunHao @icey-zhang @SummerFall1819

Taoran-Lu avatar Jan 28 '26 10:01 Taoran-Lu