virtualenv specify python version
virtualenv --python=/usr/bin/python2.6 <path/to/new/virtualenv/>
virtualenv specify python version
virtualenv --python=/usr/bin/python2.6 <path/to/new/virtualenv/>
uses specific version python venv
# Use python version 3.7.3 for tensorflow
pip install virtualenv
virtualenv -p PYTHONPATH <path/to/new/virtualenv/>
create venv with specific python version
# download & install python 3.9.6
# rename folder conataining python.exe as py_396
D:>cd py_396
D:\py_396>python -m venv .\envs\env1
D:\py_396>cd .\envs\env1\Scripts
D:\py_396\envs\env1\Scripts>activate.bat
(env1) D:\py_396\envs\env1\Scripts>cd..
(env1) D:\py_396\envs\env1>python --version
(env1) D:\py_396\envs\env1>python -m pip install --upgrade pip
(env1) D:\py_396\envs\env1>python -m pip install pandas --no-cache-dir
(env1) D:\py_396\envs\env1>pip list
(env1) D:\py_396\envs\env1>deactivate
D:\py_396\envs\env1>
D:\py_396\envs\env1>cd .\scripts
D:\py_396\envs\env1\Scripts>activate.bat
(env1) D:\py_396\envs\env1\Scripts>deactivate
D:\py_396\envs\env1>exit
start virtualenv with python version
python3 -m venv <myenvname>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us