this post was submitted on 19 Jun 2025
2 points (100.0% liked)

Technology

39368 readers
253 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
[–] [email protected] 0 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.

[–] [email protected] 0 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

[–] [email protected] 0 points 1 week ago (1 children)

So change the shebang to explicitly reference the venv python.

[–] [email protected] 0 points 1 week ago (1 children)

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

[–] [email protected] 0 points 1 week ago (1 children)

So you reported the issue before complaining ?

[–] [email protected] 0 points 1 week ago

No I threw it in a docker container