mastodon.nl is part of the decentralized social network powered by Mastodon.
Mastodon voor de Nederlandse community - door de Nederlandse community - in stand gehouden door Stichting Activityclub

Server stats:

4.6K
active users

Learn more

Seriously. How do devs get any work done?

I'm only working in it occassionally. In a broad range of projects/versions.

I honestly spend at least half my time on resolving version stuff, getting pip to work in this venv/pipenv/whateverenv, fixing pyright again.

I mean, this is bad with Ruby and insane in JavaScript. But Python pushes it to another level alltogether for me.

Is it because I'm on Ubuntu LTS? Is it that I only occasionally work on Python projects?

Bèr Kessels 🐝 🚐 🏄 🌱

@aracnus that's another thing I dislike in Python. There are at least four ways to solve all this. And even more alternatives that don't work (anymore).

@berkes , in fact, it's the same way, in background you have virtual environments and pip. The problem with Python in any GNU/Linux distro is that the versions of the libraries in distro packages are usually much older than the latest versions. So, if you need a newer library, you have to install it isolated and then the mess begins. If you want to keep your python environment simple, the best to do to install only the basic packages (preferable no libraries packages) and manage all the libraries via pip. This will avoid a lot of conflicts.

This is what miniconda does. It simplify creation of virtual environments and libraries installations. But you can do it all by hand too, if you want.