Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NirvanaEric opened this issue Aug 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NirvanaEric
Copy link

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):

  • 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.
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.

@NirvanaEric NirvanaEric added the bug Something isn't working label Aug 5, 2024
@rayrayraykk
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants