# 运行时错误：无法重用已被等待的协程

- **ID:** `python/asyncio-run-coroutine-twice`
- **领域:** python
- **类别:** runtime_error
- **验证级别:** ai_generated
- **修复率:** 80%

## 根因

尝试多次等待同一个协程对象，这在asyncio中是不允许的。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| 3.7 | active | — | — |
| 3.8 | active | — | — |

## 解决方案

1. **** (100% 成功率)
   ```
   async def my_coro(): pass; await my_coro(); await my_coro()
   ```
2. **** (95% 成功率)
   ```
   task = asyncio.create_task(my_coro()); await task; task2 = asyncio.create_task(my_coro()); await task2
   ```

## 无效尝试

- **** — The coroutine is already exhausted; you must create a new coroutine. (100% 失败率)
- **** — Coroutines are not meant to be manually driven; it's complex and error-prone. (90% 失败率)
