英文:
Error b'' trying to install psycopg2 on AIX 7.2
问题
I am trying to install psycopg2==2.9.6 on AIX 7.2. The first thing I did was install postgresql 13.10 from source in order to get pg_config.
现在当我尝试运行setup.py build
时,我收到这个空白错误消息:
...
running build_ext
# /opt/freeware/lib64/python3.7/__pycache__/_sysconfigdata_m_aix7_.cpython-37.pyc matches /opt/freeware/lib64/python3.7/_sysconfigdata_m_aix7_.py
# code object from '/opt/freeware/lib64/python3.7/__pycache__/_sysconfigdata_m_aix7_.cpython-37.pyc'
import '_sysconfigdata_m_aix7_' # <_frozen_importlib_external.SourceFileLoader object at 0xa000000008b7f08>
Error: b''```
当我尝试直接使用pip安装时,我收到相同的错误。我的pip、setuptools和wheel包都是最新版本。我不确定接下来该怎么做,有什么建议吗?
<details>
<summary>英文:</summary>
I am trying to install psycopg2==2.9.6 on AIX 7.2. The first thing I did was install postgresql 13.10 from source in order to get pg_config.
Now when I try to run `setup.py build` I get this blank error message:
python -v setup.py build
...
running build_ext
/opt/freeware/lib64/python3.7/pycache/sysconfigdata_m_aix7.cpython-37.pyc matches /opt/freeware/lib64/python3.7/sysconfigdata_m_aix7.py
code object from '/opt/freeware/lib64/python3.7/pycache/sysconfigdata_m_aix7.cpython-37.pyc'
import 'sysconfigdata_m_aix7' # <_frozen_importlib_external.SourceFileLoader object at 0xa000000008b7f08>
Error: b''
I get the same error when trying to install directly with pip. My pip, setuptools and wheel packages are all up to date. I'm not sure where to go from here, any ideas?
</details>
# 答案1
**得分**: 0
AIX没有官方支持:
https://github.com/psycopg/psycopg2/issues/1561
<details>
<summary>英文:</summary>
AIX is not officially supported:
https://github.com/psycopg/psycopg2/issues/1561
</details>
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论