modelscope / agentscope

Start building LLM-empowered multi-agent applications in an easier way.
https://doc.agentscope.io/
Apache License 2.0
4.79k stars 294 forks source link

[Bug]: When running the workflow in Studio, error message "ModuleNotFoundError: No module named 'agentscope'" was shown in the terminal #383

Open NirvanaEric opened 1 month ago

NirvanaEric commented 1 month ago

Describe the bug When running the workflow in Studio, error message "ModuleNotFoundError: No module named 'agentscope'" was shown in the terminal, and the workflow failed to run.

Error messages image

Environment (please complete the following information):

Additional context I tried to modify '_convert_config_to_py_and_run()' in '\agentscope\src\agentscope\studio_app.py' to run the workflow code in created venv. image

Not sure if this is a BUG, or just happened in my evnironment since I use Poetry to manage venv, not virtualenv or conda.

rayrayraykk commented 1 month ago

Please execute which python on your subprocess to make sure the right env is used in agentscope.