Instructor 0.6.6 - ModuleNotFoundError: No module named 'anthropic'
envgap__567-labs__instructor-518
01 / FAILURE SIGNATURE
As reported upstream
No identifying execution failure has been captured.
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
451e726cc8c6f0dad876462964aa813901b3f6b5- Manifest
pyproject.toml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
567-labs/instructor #518 · read the original issue
- [x] This is an actually a bug report.
- [ ] I am not getting good LLM Results
- [ ] I have tried asking for help in the community on discord or discussions and have not received a response.
- [ ] I have tried searching the documentation and have not found an answer.
**What Model are you using?**
- [ ] gpt-3.5-turbo
- [ ] gpt-4-turbo
- [ ] gpt-4
- [ ] Other (please specify)
**Describe the bug**
After running `pip install instructor[anthropic]` , anthropic is not installed.
**To Reproduce**
1. Create a fresh virtual environment
2. `pip install instructor[anthropic]`
3. Follow example anthropic instructor usage [Announcing Anthropic Support](https://python.useinstructor.com/blog/2024/03/20/announcing-anthropic-support/)
**Expected behavior**
```
{
"name": "John",
"age": 25,
"properties": [
{
"key": "favorite_color",
"value": "blue"
}
]
}
```
**Screenshots**
<img width="1554" alt="Screenshot 2024-03-20 at 9 29 56 PM" src="https://github.com/jxnl/instructor/assets/79169021/a7f2e975-6503-42bd-9156-127f0270ad58">
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]