Rick Leir via linux wrote on 2026-08-19 10:59:
It's quite normal to use python virtual environments. Follow the instructions in that message, and make sure that your PATH includes path/to/venv/bin/ so that you are using the newer python and pip when you install sphinx and other new packages.
I agree with this, but want to add, the `venv` contains a file, `venv/bin/activate` which prepends the venv to your path for you. It needs to be sourced, it is not executable.
Your prompt will then show (venv), which is handy. Then, `deactivate` will put the path back to normal. An example of creating, activating, and deactivating a Python venv: $ python -m venv venv uid1@fishbowl [/tmp] └─» $ . venv/bin/activate (venv) uid1@fishbowl [/tmp] └─» $ deactivate uid1@fishbowl [/tmp] └─» $