3 ms·
Iirc, some pip packages require compilation which depends on entire toolchains with e.g. gcc, g++, and with dependencies like gtk, Qt, etc. How do they intend t
by amelius 3y ago
Iirc, some pip packages require compilation which depends on entire toolchains with e.g. gcc, g++, and with dependencies like gtk, Qt, etc. How do they intend to make that less error prone and thus more user-friendly?
- cavallo71 3y agoThat's exactly what conda/mamba/micromamba is covering: the whole toolchain.
- amelius 3y agoI've used conda/mamba, but often ended up with broken installs (random coredumps) that were mysteriously fixed by just using pip3 instead.
- ZeroCool2u 3y agoThat's what they attempt to cover, but they're not super successful at it.
- mixmastamyk 3y agoWheels have been a thing for a decade+. If not available from the developer the complexity doesn't reduce much.
- wiredfool 3y agoThat’s the really pointy end of packaging. Pillow (python +c+ External dlls) produces something like 50 wheels per release, and we’ve still got platforms where you’ve got to compile your own. Since they tend to be lower volume, they also tend to have more interesting compiler issues.
- amelius 3y agoYes, I'm using Python on an nVidia Jetson system with PyTorch, which depends on CUDA, and all my other dependencies are quite challenging to get working in concert. Every time pip3 starts compiling under the hood, I'm just praying that it will work.