▲ 324 ▼ Package managers be like (linux.community) submitted 2 years ago by ExLisper@linux.community to c/programmerhumor@lemmy.ml 159 comments fedilink hide all child comments Sorry Python but it is what it is.
[–] ArbiterXero@lemmy.world 42 points 2 years ago (2 children) Well there’s your problem lol. Don’t use 2 for anything, it’s been “dead” for almost 4 years. permalink fedilink source parent hideshow 4 child comments replies: [–] clearleaf@lemmy.world 7 points 2 years ago (2 children) The problem is 2 and modules for 2 still tend to worm their way in somehow. I always use python3 -m pip because I never trust that "pip" alone is going to be python3 pip and I think that's what the people who have lots of trouble with pip aren't doing. permalink fedilink source parent hideshow 4 child comments replies: [–] ArbiterXero@lemmy.world 3 points 2 years ago Valid point. I force everything to 3 and don’t accept any 2. And in fairness, there were some moderate breaking changes 3.6-3.8 permalink fedilink source parent [–] fushuan@lemm.ee 3 points 2 years ago It would be weird to have python2-pip installed if you don't have python2 installed, pip should be python2-pip by default on most systems. I... Dunno, are you suggesting that sometimes pip2 is the default and that that somehow mixes 2 and 3 modules? Pip 2 should install into python 2's directory and pip 3 to python 3's. The only times I have had messy python environments is when I mix pipenv, conda and/or pip, and when people install into the main python with specific versioning, use a virtual env for God's sake, that's what npm does. permalink fedilink source parent [–] spacecadet@lemm.ee 2 points 2 years ago (1 child) Ahh the blissful ignorance of not having to manage tech debt permalink fedilink source parent hideshow 2 child comments replies: [–] ArbiterXero@lemmy.world 1 point 2 years ago No, I just don’t ignore it for 4 years. The bliss is in having management that actually DOES manage the debt instead of ignoring it until it shits the bed permalink fedilink source parent
[–] clearleaf@lemmy.world 7 points 2 years ago (2 children) The problem is 2 and modules for 2 still tend to worm their way in somehow. I always use python3 -m pip because I never trust that "pip" alone is going to be python3 pip and I think that's what the people who have lots of trouble with pip aren't doing. permalink fedilink source parent hideshow 4 child comments replies: [–] ArbiterXero@lemmy.world 3 points 2 years ago Valid point. I force everything to 3 and don’t accept any 2. And in fairness, there were some moderate breaking changes 3.6-3.8 permalink fedilink source parent [–] fushuan@lemm.ee 3 points 2 years ago It would be weird to have python2-pip installed if you don't have python2 installed, pip should be python2-pip by default on most systems. I... Dunno, are you suggesting that sometimes pip2 is the default and that that somehow mixes 2 and 3 modules? Pip 2 should install into python 2's directory and pip 3 to python 3's. The only times I have had messy python environments is when I mix pipenv, conda and/or pip, and when people install into the main python with specific versioning, use a virtual env for God's sake, that's what npm does. permalink fedilink source parent
[–] ArbiterXero@lemmy.world 3 points 2 years ago Valid point. I force everything to 3 and don’t accept any 2. And in fairness, there were some moderate breaking changes 3.6-3.8 permalink fedilink source parent
[–] fushuan@lemm.ee 3 points 2 years ago It would be weird to have python2-pip installed if you don't have python2 installed, pip should be python2-pip by default on most systems. I... Dunno, are you suggesting that sometimes pip2 is the default and that that somehow mixes 2 and 3 modules? Pip 2 should install into python 2's directory and pip 3 to python 3's. The only times I have had messy python environments is when I mix pipenv, conda and/or pip, and when people install into the main python with specific versioning, use a virtual env for God's sake, that's what npm does. permalink fedilink source parent
[–] spacecadet@lemm.ee 2 points 2 years ago (1 child) Ahh the blissful ignorance of not having to manage tech debt permalink fedilink source parent hideshow 2 child comments replies: [–] ArbiterXero@lemmy.world 1 point 2 years ago No, I just don’t ignore it for 4 years. The bliss is in having management that actually DOES manage the debt instead of ignoring it until it shits the bed permalink fedilink source parent
[–] ArbiterXero@lemmy.world 1 point 2 years ago No, I just don’t ignore it for 4 years. The bliss is in having management that actually DOES manage the debt instead of ignoring it until it shits the bed permalink fedilink source parent