-
Notifications
You must be signed in to change notification settings - Fork 891
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
ModuleNotFoundError: No module named 'distutils' #6509
Comments
Thanks for the report!
It's failing to read |
I don't quite understand why it picked an old version of numpy to begin with. Also, I deleted the |
I'm closing this issue because I'm no longer getting this error, but I'm not confident I know what happened here and how to reproduce it. |
Thanks for the swift response! |
When I run
uv add numpy
(after adding some other dependencies successfully), I get an "No module named 'distutils'" error. I've just installeduv
and ranuv install python 3.12
and tried to create a new project with it.I'm using the following platform:
Here's my
uv --version
:Here's the error I'm getting:
Here's the detailed log output with
uv add numpy --verbose
:https://gist.github.com/kdheepak/88fd62563e7457c0d9d17180ad907c42
Weirdly,
numpy
gets added topyproject.toml
:The text was updated successfully, but these errors were encountered: