Ancestors

Toot

Written by The B is Silent on 2024-11-03 at 20:32

OK, I think I’ve been able to (with the help of many others) get this figured out. There are a few things that happened to get me where I’m at, but mostly it was me

I’m going to work on a TIL that I’ll post later today, but tl;dr uv doesn’t install pip by default when creating a venv and that was a problem. Thanks to everyone that helped me figure this out!

[#]Python

https://mastodon.social/@ryancheley/113420509533590631

=> More informations about this toot | More toots from ryancheley@mastodon.social

Descendants

Written by Trey Hunner 🐍 on 2024-11-03 at 20:53

@ryancheley I hit that uv issue also and found it very confusing. This definitely seems like a worthwhile write up.

=> More informations about this toot | More toots from treyhunner@mastodon.social

Written by Jeff Triplett on 2024-11-03 at 22:02

@treyhunner @ryancheley It feels like more of a feature than a bug.

I assume uv pip works, but not pip. One solution might be to alias pip to uv pip.

If I were on a bare metal system, I would not want or expect installing uv to include pip.

=> More informations about this toot | More toots from webology@mastodon.social

Written by Bruno Rocha ★ rochacbruno on 2024-11-03 at 22:12

@webology @treyhunner @ryancheley

One thing that I am trying to put in my mind since I moved to UV is that every command will be prefixed by uv even the python interpreter.

=> More informations about this toot | More toots from bruno@rocha.social

Written by Jeff Triplett on 2024-11-03 at 23:18

@bruno @treyhunner @ryancheley I have kind of approached it backwards by slowly adding uv to existig projects.

My first two use cases were replacing pip-tools + compile and running uv tool pre-commit were natural fits for me before using it for uv pip install.

Now I'm flirting with workspaces (I can not get them to work) and uv python install (works great)

=> More informations about this toot | More toots from webology@mastodon.social

Written by The B is Silent on 2024-11-03 at 23:06

@webology @treyhunner agreed and yes, uv pip would work. This was a case of me making some assumptions, and while I was working on a thing getting distracted for an hour before coming back to it and getting pretty tripped up. A good learning experience for sure

=> More informations about this toot | More toots from ryancheley@mastodon.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113420924272778796
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
295.539536 milliseconds
Gemini-to-HTML Time
1.985759 milliseconds

This content has been proxied by September (3851b).