conda create virtual environment with specific python interpreter code example Example: create a virtual environment python conda conda create -n yourenvname python=x.x anaconda