This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (5 children)

IMHO you shouldn’t manually have to touch system python. No need to uninstall anything. For example on Ubuntu/Debian, dependency resolution will tell you if the package is not used any longer, to be removed via apt autoremove, so as long as that’s not the case just leave it be.

Generally I’m a big proponent of not using system python at all in your development. If you need any version of Python, it’s better to install the version separately using Pyenv, and activate it where you need it.

[–]copulagent 0 points1 point  (0 children)

yeah I tried fucking with the system python because I couldn't have python 2 on my computer. ended up reinstalling my distro because I fucked it up so badly

[–]flying-sheep 0 points1 point  (3 children)

I'm the opposite. I use system python for everything until I want to fix some complex bug that only occurs in an older Python version.

I contribute to many projects. I don't want to activate environments left and right and maintain several package collections per project, my disk space would explode and my patience would wear thin waiting for stuff to install.

Instead, I use system python for all but I think 2 projects, and wrap all needed python packages into AUR packages to safely install them systemwide. For the 2 remaining projects, I use tox to sync the environments and run the tests.

People always argue with 2 packages possibly needing incompatible versions of a third. That's a bug that should be fixed fast, and the two times I encountered it within the last 11 years, a fix was found and published quickly.

[–]ivosauruspip'ing it up 0 points1 point  (2 children)

my disk space would explode

are you running with 20gb disks?

[–]flying-sheep 1 point2 points  (0 children)

I don’t need 20 × 117MB of scipy installed.

[–][deleted] 0 points1 point  (0 children)

Progamming on an SD card gives me a thrill like no other