capitalone / giraffez

User-friendly Teradata client for Python
https://capitalone.github.io/giraffez
Apache License 2.0
108 stars 31 forks source link

pip install giraffez not working on Windows -> errors + warnings #87

Open intrapreneur-dimy opened 3 years ago

intrapreneur-dimy commented 3 years ago

Dear professionals,

I am trying to install giraffez on Windows since one week now. No chance on Win10 nor on Win2012R2 -> same errors! -> both x64 OS. Python 3.9 x64

Errors + warnings:

C:\Users\user\AppData\Local\Temp\pip-install-ywxtmmpp\giraffez_ea9b1c874e484e37831ecafbd211f620\giraffez\src/teradatapt.hpp(121): error C2061: Syntaxfehler: Bezeichner "PyType_HasFeature" C:\Users\user\AppData\Local\Temp\pip-install-ywxtmmpp\giraffez_ea9b1c874e484e37831ecafbd211f620\giraffez\src/teradatapt.hpp(121): error C2143: Syntaxfehler: Es fehlt ";" vor "{" C:\Users\user\AppData\Local\Temp\pip-install-ywxtmmpp\giraffez_ea9b1c874e484e37831ecafbd211f620\giraffez\src/teradatapt.hpp(123): error C2181: Ung\x81ltiges "else" ohne zugeh”riges "if" C:\Users\user\AppData\Local\Temp\pip-install-ywxtmmpp\giraffez_ea9b1c874e484e37831ecafbd211f620\giraffez\src/teradatapt.hpp(378): warning C4244: "Argument": Konvertierung von "uint64_t" in "TD_ColumnSize", m”glicher Datenverlust C:\Users\user\AppData\Local\Temp\pip-install-ywxtmmpp\giraffez_ea9b1c874e484e37831ecafbd211f620\giraffez\src/teradatapt.hpp(394): warning C4244: "Argument": Konvertierung von "uint64_t" in "TD_ColumnSize", m”glicher Datenverlust error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe' failed with exit code 2

Do you have an idea why it does not work?

Which MS Visual Studio Build Tools are required? Which Teradata TPT and CLI (or TTU) versions are required? Which Python versions are working well with giraffez? Are there maybe new limitations somehow?

Thanks in advance.

Best regards, Dimy