Virtual environment is very common with Python developers. Now as you are planning to use virtual environment then you should know that you must install python then pip then virtual environment.
You can follow this document here:
You can also use pyenv it is easy to install and serves the purpose.
Hope this helps.