← Home ← Back to /g/

Thread 105749868

27 posts 4 images /g/
Anonymous No.105749868 [Report] >>105749896 >>105750914 >>105751183 >>105751443 >>105751520 >>105752612 >>105753026 >>105753049 >>105754357
[Sad news] pip is deprecated
pip is deprecated please install pipx if you want to install global packages
Do not forget to install pipy to be able to install packages that start with vowels or pipz if your package contain more than 3 folders
Anonymous No.105749896 [Report] >>105751164 >>105751501 >>105751549 >>105752589 >>105752612
>>105749868 (OP)
i was annoyed when they added that restriction at first and then i learned how to use a venv and it really is much better desu. global python packages feel messy in comparison, and distro managed python packages just feel like mental retardation. use venv bros
Anonymous No.105749904 [Report] >>105749928 >>105750928
What the fuck is the point
Anonymous No.105749928 [Report] >>105750243
>>105749904
Constant pointless design churn makes SWEs feel useful and serves as a form of de facto guild gatekeeping. Same reason there's a new 'framework' in webdev every couple of years.
Anonymous No.105750243 [Report]
>>105749928
Make work applies to every profession.
Anonymous No.105750914 [Report]
>>105749868 (OP)
>pipx is good to duct-tape retarded python packages written by retards using the most retarded language on earth.
Yes.
Anonymous No.105750926 [Report]
pip is so fucking retarded.
Anonymous No.105750928 [Report]
>>105749904
Linux is for trannies. There's no point, these retards have too much free time on their hands.
Anonymous No.105751164 [Report]
>>105749896
i've just been using venvs to avoid dependency hell
and also to update yt-dlp every time i stream something with mpv
Anonymous No.105751183 [Report]
>>105749868 (OP)
or pipn if the package was developed by a nigger
Anonymous No.105751443 [Report]
>>105749868 (OP)
Why are you, as a user, trying to install global packages anyway? Literally, what is the use case for this?
Anonymous No.105751454 [Report]
pip install yt-dlp --break-system-packages
shrimple as that
Anonymous No.105751501 [Report]
>>105749896
Venv it's better than the mess before but you have libraries copied over and over from projects to project isn't it? Why can't they source from a single place and simlink?
Anonymous No.105751520 [Report]
>>105749868 (OP)
cant you use the break-system-packages flag?
Anonymous No.105751549 [Report] >>105753084 >>105754257 >>105754411
>>105749896
Is there no venv equivalent for other languages?
And can anyone explain why can’t python or other language just use something like pacman? You can’t even uninstall packages and their dependencies cleanly with pip. That’s retarded.
Anonymous No.105752589 [Report]
>>105749896
>dynamic linking and package management feels messy when you can just have all your dependencies in-tree
Anonymous No.105752612 [Report]
>>105749868 (OP)
>>105749896
as long as you need environments it remains garbage.
this is a solved problem. python trannies need to get up-to-date.
Anonymous No.105752673 [Report] >>105753188
https://github.com/astral-sh/uv
Anonymous No.105752873 [Report]
They should deprecate Python entirely.
Anonymous No.105753026 [Report]
>>105749868 (OP)
Why do Python fags think it's acceptable to jump through hoops like this to distribute packages? Why remove complexity from the language but not from the distribution process?
Anonymous No.105753049 [Report] >>105753188
>>105749868 (OP)
use uv
Anonymous No.105753084 [Report]
>>105751549
In Java, Maven put all libs into a .m2 folder into home and that's it. Every java project store their libs/reuse the librairies there. I don't get why you need a full python env with libraries for each project.
Anonymous No.105753188 [Report]
>>105752673
>>105753049
uv is better and the author is not a tranny despite using rust
Anonymous No.105754257 [Report]
>>105751549
There definitely are. Ruby has rbenv, Java has had several, and Javascript has had several, with npm defaulting to virtual environment-like package installs.
Anonymous No.105754280 [Report]
Hell yeah, just use venv for every ML project! Re-download multiple GB of the same fucking package again and again!
Anonymous No.105754357 [Report]
>>105749868 (OP)
Pip packages are fragile malware ridden clusterfucks, why would you want them global?
Anonymous No.105754411 [Report]
>>105751549
Most of the packages don't even declare their dependencies correctly, how do you expect clean uninstall?