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

Technology

39347 readers
200 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
[–] Penguincoder@beehaw.org 2 points 1 week ago (1 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 1 week ago (1 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 1 week ago (1 children)

So change the shebang to explicitly reference the venv python.

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

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

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

So you reported the issue before complaining ?

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

No I threw it in a docker container

[–] Diurnambule@jlai.lu 1 points 1 week ago