I have Python 3.10.0 installed on my Mac. But when I create a virtual environment (using: python -m venv nameofvirtualenvironment) and check the Python version which is installed in the virtual environment it says that Python 3.8.10 is installed. But I really need Python 3.10.0.
Python version 3.10.0 is installed at /usr/local/bin/python3
Do you have ideas how to solve this?