关于执行Mobile-Agent-v3.5/mobile_use 的python run_gui_owl_1_5_for_mobile.py
Author: AllenMa97Created May 25, 2026Updated May 25, 2026
如题,会出现变量名未定义,如:
D:\MobileAgent-main\Mobile-Agent-v3.5\computer_use>python run_gui_owl_1_5_for_pc.py --api_key "sk-我的一个api key" --base_url "https://dashscope.aliyuncs.com/compatible-mode/v1" --model "qwen-vl-plus-latest" --instruction "Open Chrome and search the PC-Agent paper." --add_info "补充信息,可为空"
运行输出如下:
STEP 0:
Traceback (most recent call last): File "D:\MobileAgent-main\Mobile-Agent-v3.5\computer_use\run_gui_owl_1_5_for_pc.py", line 308, in main() File "D:\MobileAgent-main\Mobile-Agent-v3.5\computer_use\run_gui_owl_1_5_for_pc.py", line 245, in main response = dashscope.MultiModalConversation.call( NameError: name 'dashscope' is not defined
当然,自己在py脚本里面加入dashscope的import是ok的
Source: X-PLUG/MobileAgent