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

Missing distutils in Python 3.12 #16

Open
mrumpf opened this issue Apr 10, 2024 · 0 comments
Open

Missing distutils in Python 3.12 #16

mrumpf opened this issue Apr 10, 2024 · 0 comments

Comments

@mrumpf
Copy link

mrumpf commented Apr 10, 2024

When you run an application using kubeconfig on a Python 3.12 venv, then you run into an error:

ModuleNotFoundError: No module named 'distutils'

It seems as if the distutils package has been removed in Python 3.12 and needs to be installed manually:
https://stackoverflow.com/a/77638756/1518964

pip3 install setuptools
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

1 participant