this post was submitted on 19 Jun 2025
63 points (94.4% liked)

Technology

39479 readers
235 users here now

A nice place to discuss rumors, happenings, innovations, and challenges in the technology sphere. We also welcome discussions on the intersections of technology and society. If it’s technological news or discussion of technology, it probably belongs here.

Remember the overriding ethos on Beehaw: Be(e) Nice. Each user you encounter here is a person, and should be treated with kindness (even if they’re wrong, or use a Linux distro you don’t like). Personal attacks will not be tolerated.

Subcommunities on Beehaw:


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 3 years ago
MODERATORS
 

Application optimization reduces disk usage and reclaims space. 🙂

you are viewing a single comment's thread
view the rest of the comments
[–] Boomkop3@reddthat.com -2 points 2 weeks ago (29 children)

Alright, I want two apps that depend on two different version of python, but won't work on the other.

No warning, no notice, just one of the two fails to start. Thank you package manager

[–] Penguincoder@beehaw.org 2 points 2 weeks ago (6 children)

Solved problem. Python virtual environments. Or install another python version with your package manager and make sure the python script calls it in the shebang instead of a generic /usr/bin/env python.

[–] Boomkop3@reddthat.com 2 points 2 weeks ago (5 children)

Tried it, but some apps depend on spawning other python processes. Half the time that results in them breaking out of the env cuz they're using the python in the system path

[–] Penguincoder@beehaw.org 1 points 2 weeks ago (1 children)

So change the shebang to explicitly reference the venv python.

[–] Boomkop3@reddthat.com 2 points 2 weeks ago (1 children)

Ye that's handy, until some script inside a library or something doesn't

[–] Diurnambule@jlai.lu 1 points 2 weeks ago (1 children)

So you reported the issue before complaining ?

[–] Boomkop3@reddthat.com 3 points 2 weeks ago (1 children)

No I threw it in a docker container

[–] Diurnambule@jlai.lu 1 points 2 weeks ago
load more comments (3 replies)
load more comments (3 replies)
load more comments (25 replies)