4 ms·
Installing different Python versions is not possible with many distros (you'd have to compile it from source/use something like pyenv): https://developer.fedor
by lima 9y ago
Installing different Python versions is not possible with many distros (you'd have to compile it from source/use something like pyenv):
https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.html https://developer.fedoraproject.org/tech/languages/python/mu...
- saghm 9y agoAh, I missed the "CPython in multiple 3.X and 2.X versions". Thanks for pointing that out to me!
- fiddlerwoaroof 9y agoAs far as I remember Debian has always been able to support multiple versions of python simultaneously although I think they've dropped packages for <~2.7 now
- toyg 9y agoBut: - iirc they can only go down one version (i.e. 3.4/3.5, no 3.4.1/3.4.2) - it's always been a real b@llache to install newer versions on Debian releases where it has not been officially packaged (e.g. 3.6 on jessie). With most packages, you can grab the source from Sid and rebuild it on Stable; with Python it's become basically impossible, the pile of dependencies below and above the package is unwieldy. And this despite tons of policies around packaging python apps, which was supposed to make it easier to run multiple versions. If Fedora really made things easier in this area, it's most welcome. However, when a marketing page starts with "you can now do this standard thing that actually most people have been doing for years already" (-m venv), I'm somewhat skeptical.
- cbcoutinho 9y agoOpenSUSE gives you the ability to have both python and python3 installed through the package manager
- johnny22 9y agoalmost every distro has that. this is about different 3.x versions. SuSE might have that, but I don't know.
- cbcoutinho 9y agoOh that's a good point. I don't think openSUSE has various 3.x versions of python - currently Leap 42.2 ships with 3.4.2. If I need another version of python I use anaconda, but my use cases are relatively simple so the system python versions (2.7/3.4) fit for me just fine.