Informix python 包:pip install ifxpy IfxPy 安装命令中出现错误:use_2to3 无效

问题描述 投票:0回答:1
pip install ifxpy
Collecting ifxpy
  Using cached IfxPy-3.0.5.tar.gz (155 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      C:\Users\kon6369\AppData\Local\Temp\pip-install-_p7q_hbs\ifxpy_56684d68edfd4eb186b23478fe6d69f0\setup.py:175: SyntaxWarning: invalid escape sequence '\l'
        library_dirs = [ py_home + '\libs', csdk_home + '\lib'],
      C:\Users\kon6369\AppData\Local\Temp\pip-install-_p7q_hbs\ifxpy_56684d68edfd4eb186b23478fe6d69f0\setup.py:175: SyntaxWarning: invalid escape sequence '\l'
        library_dirs = [ py_home + '\libs', csdk_home + '\lib'],
      Detected 64-bit Python
      Downloading : https://hcl-onedb.github.io/odbc/OneDB-Win64-ODBC-Driver.zip
      **error in IfxPy setup command: use_2to3 is invalid.**
      Extracting Windows ODBC files : https://hcl-onedb.github.io/odbc/OneDB-Win64-ODBC-Driver.zip
      Smart Triggers are enabled.
      [end of output]

pip 安装 ifxpy

我需要安装这个包

Python 3.12.3 点 24.0 轮子0.43.0

python informix
1个回答
0
投票

ifpy
不支持
python 3.12

官方文档说支持到

python 3.7

enter image description here


https://pypi.org/project/IfxPy/


您需要单独安装

3.7

© www.soinside.com 2019 - 2024. All rights reserved.