OpenInformix / IfxPy

Informix native Python driver for scalable enterprise and IoT solutions.
Other
46 stars 22 forks source link

Error installing IfxPy 3.0.5 (using pip install, on Python 3.9.13 Windows) #71

Open GeneGeneGitHub opened 2 years ago

GeneGeneGitHub commented 2 years ago

The latest .whl file is: IfxPy-3.0.5-cp38-cp38-win_amd64.whl

Can I assume the Python 3.9x version is the problem?

Any ETA on a version for Python 3.9x?

Thanks

=================================================================================== $ pip install IfxPy Collecting IfxPy Downloading IfxPy-3.0.5.tar.gz (155 kB) ---------------------------------------- 155.8/155.8 kB 4.7 MB/s eta 0:00:00 Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [5 lines of output] 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]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

jsagrera commented 2 years ago

Same as https://github.com/OpenInformix/IfxPy/issues/62. You will need to built it from source.