didn’t mean to impose “my way” in any manner, sorry.
I’ve myself started using nixos relatively recently and tried out some different ways of making python development environments.
When I finally discovered buildFHSEnv - it just felt like one of those “aha!” moments. It solved 2 problems straight away: using python “the usual venv way”, and isolating dev env from the rest of the system, since buildFHSEnv uses bwrap, so you can straight away unshare pid, mount and other namespaces, and bind new home so that a “bad” pip package cannot read your real home, and you yourself cannot accidently delete anything important