david_chisnall on Nostr: npub1uj7qh…pj2yl The ports system has multiple versions of Python and (I believe) ...
npub1uj7qhfrjpzt8kzetnf0mghvekkn5jr9eknsyk2guc03nr56lrwcs5pj2yl (npub1uj7…j2yl) The ports system has multiple versions of Python and (I believe) they can be installed side by side. Ports that depend on Python usually have flavours when built as packages so you can install a version that works with your favourite Python version. The same is true for PHP and for libraries like Qt. Packages are built as atomic package sets, all from a single snapshot of the ports tree. If a port depends on something that has been changed, it is rebuilt, so everything in a package set should work together. If you need a specific Python for a project that isn’t in ports, install it and use pipenv or similar to create an environment where you can use it.