r/PythonLearning • • Aug 07 '25

When you use pip to install uv

Post image
121 Upvotes

13 comments sorted by

2

u/sakthii_ Aug 07 '25

Whats uv

9

u/fadilasiff Aug 07 '25

uv is basically a way faster alternative to pip for installing packages but apart from tht it also does a bunch of stuff that normally takes extra steps. Like it auto creates virtual environments, sets up a proper pyproject.toml, .gitignore, lockfiles etc. so basically it sets up your project with best practices without you having to do it

2

u/sakthii_ Aug 07 '25

Oh really interesting, I have been using python personally and professionally for a while and I did not know that.

2

u/fadilasiff Aug 07 '25

Give it a try it's really convenient!

4

u/Kqyxzoj Aug 07 '25

Summary:

  • pip sucks, uv doesn't.

  • uv is fast, pip isn't.

  • uv is a single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more.

  • https://docs.astral.sh/uv/

1

u/sakthii_ Aug 07 '25

Cool! I wonder why it's not widely popular.

1

u/1freebutttouch Aug 08 '25

It just came out

1

u/sakthii_ Aug 08 '25

Makes sense

6

u/TwinkiesSucker Aug 07 '25

Is this some pip joke that I am too conda to understand? /s

2

u/[deleted] Aug 07 '25

this meme is hilarious and very informative for somebody like myself who has no idea how to write code barely understands the framework of Python I know Pip is how you install things so looking at this I can tell that UV is a replacement for installing it would replace PIP

this is interesting a cool way of teaching for example you could easily say what UV is by sharing that meme

2

u/atticus2132000 Aug 08 '25

This is like all the jokes about using internet explorer to download Google Chrome.