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

error: metadata-generation-failed at thrift when installing impyla with python 3.9.17 #520

Open
kevinkim5 opened this issue Oct 17, 2023 · 1 comment

Comments

@kevinkim5
Copy link

I am trying to install impyla with python 3.9.17, but it returns encounters this error when pip tries to install thrift==0.16.0 (from impyla)

assert '_distutils' in core.file, core.file
AssertionError:
error: metadata-generation-failed

Any fix for this or python needs to downgraded?

@csringhofer
Copy link
Collaborator

I tried installing impyla with python 3.9.18 + Ubunut 20.04 and it worked without issues:
sudo apt-get install python3.9
sudo apt-get install python3.9-venv
python3.9 -m venv venvs/impyla520
source venvs/impyla520/bin/activate
pip install impyla

Do you have an idea on what could be different in your environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants