Does VisionFive support Python 3.10?

Description

I have installed Python 3.10 with the output log that indicated the installation is successful and the environment variable has been changed as well. However, after I entered python -V, the output indicated the Python version was 3.9. Does VisionFive support Python 3.10?

SoC

JH7100

SBC

VisionFive

Cause

After the installation, the command, sudo ln -s /home/riscv/python3.10.4/bin/python, was entered to use Python 3.10. However, this command did not specify a target to create a symbolic link.

Solution

Enter the correct command to create a symbolic link:

sudo ln -s /home/riscv/python3.10.4/bin/python /usr/bin/python