Error b'' trying to install psycopg2 on AIX 7.2

huangapple go评论60阅读模式
英文:

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安装时我收到相同的错误我的pipsetuptools和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&#39;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>



huangapple
  • 本文由 发表于 2023年4月13日 23:15:29
  • 转载请务必保留本文链接:https://go.coder-hub.com/76007123.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定