Seriously. How do #Python 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?
Alexandre B A Villares π
in reply to BΓ¨r Kessels π π π π± • • •BΓ¨r Kessels π π π π±
in reply to Alexandre B A Villares π • • •Aracnus
in reply to BΓ¨r Kessels π π π π± • •Bèr Kessels π π π π± likes this.
BΓ¨r Kessels π π π π±
in reply to Aracnus • • •Aracnus
in reply to BΓ¨r Kessels π π π π± • •@BΓ¨r Kessels π π π π± , 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.