agentscope
agentscope copied to clipboard
[Bug]: When running the workflow in Studio, error message "ModuleNotFoundError: No module named 'agentscope'" was shown in the terminal
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
Environment (please complete the following information):
- AgentScope Version: "0.0.6alpha3"
- Python Version: 3.12
- Python venv manager: Poetry
- OS: Windows10
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.
Not sure if this is a BUG, or just happened in my evnironment since I use Poetry to manage venv, not virtualenv or conda.
Please execute which python on your subprocess to make sure the right env is used in agentscope.