bytedance / bytedance/trae-agent

trae-cli command not found

Open
#86 11 comments 1 reaction 0 assignees View on GitHub
status/need-triage type/question
Dominant language
Python
Stars
12.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

### Setup Error and lack of instructions

In the README.md, there is some examples show how to use `trae-cli`, but I didn't see any instruction about `trae-cli` installation. I run `pip install trae-cli` and got
```
ERROR: Could not find a version that satisfies the requirement trae-cli (from versions: none)
ERROR: No matching distribution found for trae-cli
```

I run `uv sync` to successfully install all dependencies, but when I run `python trae_agent/cli.py`, it shows this error
```
Traceback (most recent call last):
File "/Users/tempest/Documents/AI/trae-agent/trae_agent/cli.py", line 12, in
import click
ModuleNotFoundError: No module named 'click
```

I want to know more about how to correctly setup this agent.
By the way, I read the implementation, it is so efficient, I am amazed at the elegance, simplicity, and effectiveness of the trae agent's design.

Contributor guide

Open the contributing guide

Research direction

Start with README.md and the dependency setup used by uv sync, then inspect trae_agent/cli.py and its click import. Document the correct installation and launch steps, including how the required dependencies are installed, and verify that the documented command runs without the reported ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.