Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(deps): cannot install impala dialect on Windows #4666

Closed
kissgyongyver opened this issue Oct 18, 2022 · 7 comments · Fixed by #4671
Closed

bug(deps): cannot install impala dialect on Windows #4666

kissgyongyver opened this issue Oct 18, 2022 · 7 comments · Fixed by #4671
Labels
bug Incorrect behavior inside of ibis dependencies Issues or PRs related to dependencies impala The Apache Impala backend
Milestone

Comments

@kissgyongyver
Copy link

kissgyongyver commented Oct 18, 2022

I am trying to install ibis with impala dialect on Windows:
pip install ibis-framework[impala]

But I get an error that it cannot build Kerberos:

Building wheel for kerberos (setup.py) ... error
ERROR: Command errored out with exit status 1:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -I\include -I\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcsrc/base64.c /Fobuild\temp.win-amd64-3.8\Release\src/base64.obj 'krb5-config' is not recognized as an internal or external command, operable program or batch file.

@cpcloud
Copy link
Member

cpcloud commented Oct 18, 2022

Perhaps we should remove the kerberos extra in the impala extra in pyproject.toml and document that for krb5 support you need to install kerberos?

@cpcloud cpcloud added question Questions about the library dependencies Issues or PRs related to dependencies labels Oct 18, 2022
@jcrist
Copy link
Member

jcrist commented Oct 18, 2022

I think that's the best option for us. I pushed up cloudera/impyla#504 to fix the issue upstream, but that may take a while to resolve.

@cpcloud cpcloud added this to the 4.0.0 milestone Oct 18, 2022
@cpcloud cpcloud changed the title Cannot install impala dialect on Windows bug(deps): cannot install impala dialect on Windows Oct 18, 2022
@cpcloud cpcloud added bug Incorrect behavior inside of ibis and removed question Questions about the library labels Oct 18, 2022
@cpcloud cpcloud added the impala The Apache Impala backend label Oct 18, 2022
@kissgyongyver
Copy link
Author

Thanks for the fast reaction!!!

@contang0
Copy link

contang0 commented Aug 10, 2023

I'm trying to get Ibis to work on Windows using pip install ibis-framework[impala] with no success. Still seems to try to build Kerberos:

image

@lostmygithubaccount
Copy link
Member

lostmygithubaccount commented Aug 10, 2023

@juliuscrn per the error message do you have microsoft visual C++ 14.0 or greater installed? I don't have a windows machine so it's difficult to try to reproduce (not sure any of the maintainers have windows)

you also may want to open a new issue for easier tracking

@contang0
Copy link

Somehow the issue went away by upgrading from python 3.7 to 3.10

@cpcloud
Copy link
Member

cpcloud commented Aug 10, 2023

the issue went away by upgrading from python 3.7 to 3.10

The minimum Python version for the latest release of ibis is 3.9 per our versioning policy.

The older version didn't have the relevant PRs merged before it was released, hence the installation issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior inside of ibis dependencies Issues or PRs related to dependencies impala The Apache Impala backend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants