How to upgrade to python 3.10

@matthkarl you can refer this documentation for pip or python upgrade