anthropics / anthropics/claude-quickstarts
ImportError: EditTool20250429 not found in computer-use-demo Docker image
- 主要言語
- TypeScript
- スター
- 17.6k
- フォーク
- 3k
- 平均マージ
- 5時間 13分
- マージ済み PR(30日)
- 3
説明
## Bug Description
The published Docker image `ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest`
fails to start due to an import error.
## Error Message
```
ImportError: cannot import name 'EditTool20250429' from 'computer_use_demo.tools.edit'
(/home/computeruse/computer_use_demo/tools/edit.py)
```
## Steps to Reproduce
1. Pull the latest Docker image:
```bash
docker pull ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
```
2. Run the container:
```bash
docker run \
-e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
-v $HOME/.anthropic:/home/computeruse/.anthropic \
-p 5900:5900 \
-p 8501:8501 \
-p 6080:6080 \
-p 8080:8080 \
-it ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
```
3. Container starts but Streamlit fails with import error
## Environment
- OS: macOS
- Docker version: (run `docker --version` to get this)
- Image: `ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest`
- Date pulled: November 30, 2024
## Expected Behavior
The Streamlit app should start successfully and be accessible at http://localhost:8080
## Actual Behavior
Streamlit crashes with ImportError for `EditTool20250429`
## Full Error Log
```
File "/home/computeruse/computer_use_demo/tools/__init__.py", line 5, in
from .edit import EditTool20241022, EditTool20250124, EditTool20250429, EditTool20250728
ImportError: cannot import name 'EditTool20250429' from 'computer_use_demo.tools.edit'
```
## Suggestion
The `__init__.py` file is trying to import `EditTool20250429` which doesn't exist in
the `edit.py` file in the Docker image. This appears to be a version mismatch between
the code files in the published image.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。