Closed mihirsamdarshi closed 5 months ago
Hi @mihirsamdarshi
I believe the problem is that distutils
was removed in Python 3.12 so the Pendulum build script fails to import it.
👍 I don't think pip is able to install this either. It's an issue with the pendulum
package itself.
Thanks, my bad, I should've check that before posting this issue
No prob.
uv -v pip install pendulum==2.1.2
seems to error for me in a couple different environments.I first noticed the error in my macOS
venv
. I was then able to reproduce it in a Docker containerThe sequence of steps that reproduced the error for me on an Apple Silcon MacBook Pro were as follows. I also have attached the terminal output as well.
Reproducible Example
Install the latest version of
uv
using the official installer scriptNote: This also occurs in version 0.2.5
Create a
uv venv
and activate itpendulum==2.1.2
Output of Reproducible Example
uv
Infouv 0.2.5
,arm64
uv 0.2.8
,arm64