OpenInformix / IfxPy

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

Getting error while installing ifxpy #69

Closed parthiv11 closed 2 years ago

parthiv11 commented 2 years ago

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
  ╰─> [5 lines of output]
      Detected 64-bit Python
      Downloading : https://hcl-onedb.github.io/odbc/OneDB-Win64-ODBC-Driver.zip
      Extracting Windows ODBC files : https://hcl-onedb.github.io/odbc/OneDB-Win64-ODBC-Driver.zip
      Smart Triggers are enabled.
      error in IfxPy setup command: use_2to3 is invalid.
      [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.

I am getting this error please help me

jsagrera commented 2 years ago

This is a know issue, you will need to build it from source or downgrade Python. https://github.com/OpenInformix/IfxPy/issues/62