To install, run (with Python 3.14rc1, in the leo-editor folder):
pip install -r requirements.txt
Everything should "just work".
Python 3.9 will reach its "end of life" in October 2025.
Leo 6.8.7 is scheduled for November 2025. If that schedule holds, Leo 6.8.6 will be the last version of Leo to support Python 3.9.
If, for whatever reason, you are stuck with Python 3.9, now is the time to upgrade to at least Python 3.10.
Edward