aio-libs / aio-libs/aiopg

Issues on PyPy

未关闭
#650 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.4k
派生
170
PR 合并指标
30 天内没有已合并 PR

描述

I'm trying to use this in a PyPy environment with psycopg2cffi installed; however, I get this error:
```
File "project/lib/foo/src/foo/foo.py", line 5, in
from aiopg.sa.engine import Engine
File "/usr/local/site-packages/aiopg/__init__.py", line 6, in
from .connection import connect, Connection, TIMEOUT as DEFAULT_TIMEOUT
File "/usr/local/site-packages/aiopg/connection.py", line 12, in
import psycopg2
ModuleNotFoundError: No module named 'psycopg2'
```

If I try to do the `psycopg2cffi.compat.register()` monkeypatch thing, I get this error:

```
Fatal error on aiopg connection: POLL_ERROR from underlying .poll() call\nconnection:
```

Are there instructions for installing into PyPy (if so, apologies for missing them)? Am I doing something wrong? Or maybe this simply isn't supported?

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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