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

Failed make airflow_install on Python 3.12 #1

Open
cmpadden opened this issue Oct 15, 2024 · 0 comments · May be fixed by #2
Open

Failed make airflow_install on Python 3.12 #1

cmpadden opened this issue Oct 15, 2024 · 0 comments · May be fixed by #2
Assignees

Comments

@cmpadden
Copy link

make airflow_install results in:

error: Failed to prepare distributions
     Caused by: Failed to fetch wheel: pendulum==2.1.2
     Caused by: Build backend failed to build wheel through `build_wheel()` with exit status: 1

Traceback (most recent call last):
     File "/Users/colton/Library/Caches/uv/sdists-v4/pypi/pendulum/2.1.2/mr2C25miEWk0wN4mQC8RA/pendulum-2.1.2.tar.gz/build.py", line 5, in <module>
uv venv       from distutils.command.build_ext import build_ext
   ModuleNotFoundError: No module named 'distutils'

This was due to using Python 3.12, and was resolved by activating the venv with 3.11.

$ python --version
Python 3.12.6
uv venv --python 3.11
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

Successfully merging a pull request may close this issue.

2 participants