3 ms·
Which creates more problems than solutions. If the Python version that comes with your OS is not the one you want (e.g. it's outdated), then you'll have to: 1
by young_unixer 5y ago
Which creates more problems than solutions.
If the Python version that comes with your OS is not the one you want (e.g. it's outdated), then you'll have to:
1. Install the version you want anyway, and all the tools required (that usually don't come preinstalled in the OS)
2. Try to not make them collide, which, last time I tried, was a PITA, because the OS depends on original version of Python being in the the $PATH or something.
Python on Ubuntu is notoriously misleading for newbies, because even if you apt install python3 and it tells you that it's already installed, it's not fully installed. For example, venv is not installed, you have to `sudo apt install python3-venv` and do that for every Python module that's not installed by default.
It would be easier if Linux didn't come with Python, and then people simply installed the actual, full version of Python they wanted.
- f1refly 5y ago>and then people simply installed the actual, full version of Python they wanted. Which then wouldn't work for all the repository python programs. The repo's python is what everything is built and tested against, so there is no replacing that.
- young_unixer 5y agoThe package manager could install its own version of Python, isolated from the rest of the system, so that it doesn't get in the way of the user, but repository programs know where it is and can use it.