AutoAgent icon indicating copy to clipboard operation
AutoAgent copied to clipboard

Unable to Run `auto` After Installation

Open yang-dongxu opened this issue 10 months ago • 0 comments

I installed AutoAgent on Linux following the README using Conda and Python 3.11 in a clean environment. However, running auto fails with import errors.

Error Output:

Warning: Failed to import autoagent.tools.file_surfer_tool: libctranslate2-bc15bf3f.so.4.5.0: cannot enable executable stack as shared object requires: Invalid argument
Warning: Failed to import autoagent.agents.system_agent.filesurfer_agent: cannot import name 'open_local_file' from 'autoagent.tools' (/home/ydx/repos/AutoAgent/autoagent/tools/__init__.py)
Warning: Failed to import autoagent.agents.system_agent.system_triage_agent: cannot import name 'open_local_file' from 'autoagent.tools' (/home/ydx/repos/AutoAgent/autoagent/tools/__init__.py)
Traceback (most recent call last):
  File "/home/ydx/.conda/envs/autoagent/bin/auto", line 5, in <module>
    from autoagent.cli import cli
  File "/home/ydx/repos/AutoAgent/autoagent/cli.py", line 32, in <module>
    from autoagent.agents import get_system_triage_agent
ImportError: cannot import name 'get_system_triage_agent' from 'autoagent.agents' (/home/ydx/repos/AutoAgent/autoagent/agents/__init__.py)

System Info:

  • OS: Linux (please specify distro)
  • Python: 3.11 (Conda)
  • Installation: Fresh environment, pip install -e .

Any ideas on how to fix this?

yang-dongxu avatar Mar 03 '25 15:03 yang-dongxu