conda use python 3.7 for virtual environment code example
Example 1: create a virtual environment python conda
conda create -n yourenvname python=x.x anaconda
Example 2: how to create a virtual environment in anaconda
conda create -n env_name python=x.x anaconda