python2
C:\Users\Administrator\Desktop>virtualenv -p D:\Python27\python.exe testdir
#virtualenv -p python.exe所在文件夹路径 想要建立文件夹路径
Running virtualenv with interpreter D:\Python27\python.exe
New python executable in testdir\Scripts\python.exe
Installing setuptools, pip, wheel...done.
python3
C:\Users\Administrator\Desktop>virtualenv -p D:\Python27\python.exe testdir
#virtualenv -p python.exe所在文件夹路径 想要建立文件夹路径
Running virtualenv with interpreter D:\Python\python3.exe
New python executable in testdir\Scripts\python.exe
Installing setuptools, pip, wheel...done.