anarchy-ai / anarchy-ai/LLM-VM

ModuleNotFoundError: No module named 'outlines.text'

未关闭
#440 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
490
派生
139
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
ModuleNotFoundError when importing client:
```
Traceback (most recent call last):
File "", line 1, in
File "/Users/cecil/repos/anarchy/LLM-VM/src/llm_vm/client.py", line 6, in
from llm_vm.completion.optimize import LocalOptimizer
File "/Users/cecil/repos/anarchy/LLM-VM/src/llm_vm/completion/optimize.py", line 14, in
from llm_vm.guided_completion import Completion
File "/Users/cecil/repos/anarchy/LLM-VM/src/llm_vm/guided_completion.py", line 2, in
import outlines.text.generate as generate
ModuleNotFoundError: No module named 'outlines.text'
```

**To Reproduce**
Steps to reproduce the behavior:
1. Install LLM-VM
2. Open python3 in shell
3. Import client using `from llm_vm.client import Client`

**Expected behavior**
Client imports successfully.

**Desktop (please complete the following information):**
- OS: macOS Monterey 12.7.1

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。