Venv is half the source of my problems because I cannot conceptually hang onto how many different ways and locations a different python version or set of tools is installed.

It *sounds* like a solution, but it’s just the thing I end up fighting with for hours after nothing works the basic way.

Reply to this note

Please Login to reply.

Discussion

I feel you. I try to combine project A which depends on Ax, and want to use it with project B which depends on Bx, but x is of different versions. In which case I pick a specific version of x, and add the breaking change from the other version as an override patch. It just takes years of experience and a deep knowledge of Python I guess.

I don’t know what sort of black magic this thing is doing but it’s the solution to all of your Python package issues.

https://github.com/astral-sh/uv

are you for sure actually using the venv you intended to use when running your python script?