Possibly, the system is still looking for python3.8. Have you exported python3.13 to the system path in your bashrc
?
Also, you can have multiple Python versions at once. A common practice is to work with a Python virtual environment, which you can set up with any of the versions available on your system.
See https://docs.python.org/3/library/venv.html