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]: Tomli dependency missing #223

Closed
1 of 3 tasks
paolodm opened this issue Jan 19, 2025 · 1 comment
Closed
1 of 3 tasks

[Bug]: Tomli dependency missing #223

paolodm opened this issue Jan 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@paolodm
Copy link

paolodm commented Jan 19, 2025

Contact Details

No response

πŸ“¦ Package Version

AgentStack CLI version: 0.2.5.1

🎞️ Framework Version

No response

πŸ”Ž Describe the Bug

When i run agentstack init <name> i get the following error:

agentstack init example
Traceback (most recent call last):
File "/Users/paolo.delmundo/tmp/agentstack-test/.venv/bin/agentstack", line 5, in
from agentstack.main import main
File "/Users/paolo.delmundo/tmp/agentstack-test/.venv/lib/python3.10/site-packages/agentstack/main.py", line 7, in
from agentstack.cli import (
File "/Users/paolo.delmundo/tmp/agentstack-test/.venv/lib/python3.10/site-packages/agentstack/cli/init.py", line 1, in
from .cli import init_project_builder, configure_default_model, export_template, welcome_message
File "/Users/paolo.delmundo/tmp/agentstack-test/.venv/lib/python3.10/site-packages/agentstack/cli/cli.py", line 22, in
from agentstack.generation.files import ProjectFile
File "/Users/paolo.delmundo/tmp/agentstack-test/.venv/lib/python3.10/site-packages/agentstack/generation/init.py", line 3, in
from .tool_generation import add_tool, remove_tool
File "/Users/paolo.delmundo/tmp/agentstack-test/.venv/lib/python3.10/site-packages/agentstack/generation/tool_generation.py", line 11, in
from agentstack.generation.files import EnvFile
File "/Users/paolo.delmundo/tmp/agentstack-test/.venv/lib/python3.10/site-packages/agentstack/generation/files.py", line 10, in
import tomli as tomllib
ModuleNotFoundError: No module named 'tomli'

If I manually add pip install tomli, only then will it start working.

🀝 Contribution

  • Yes, I'd be happy to submit a pull request with these changes.
  • I need some guidance on how to contribute.
  • I'd prefer the AgentStack team to handle this update.
@paolodm paolodm added the bug Something isn't working label Jan 19, 2025
@tcdent
Copy link
Collaborator

tcdent commented Jan 20, 2025

Resolved in #224

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

2 participants