There's a convenience debian and Ubuntu package python-is-python3 and all it does is symlink /usr/bin/python to python3. I suppose it will break Python 2 scripts with a "python" shebang, but so does having no /usr/bin/python.
I've just plunged into a project that uses Python a lot, and I regret not using a Python virtual environment, aka venv. I've now got a mess, and at some point, I'm going to have to wipe everything Python back to stock Kubuntu and start again. If you have, or wish to avoid, Python dependency issues using venv might be the ticket.
I've just plunged into a project that uses Python a lot, and I regret not using a Python virtual environment, aka venv. I've now got a mess, and at some point, I'm going to have to wipe everything Python back to stock Kubuntu and start again. If you have, or wish to avoid, Python dependency issues using venv might be the ticket.
Comment