Answers for "how to create virtual environment with specific python version with venv version"

2

virtualenv specify python version

virtualenv --python=/usr/bin/python2.6 <path/to/new/virtualenv/>
Posted by: Guest on September-06-2020
1

uses specific version python venv

# Use python version 3.7.3 for tensorflow
pip install virtualenv 
virtualenv -p PYTHONPATH <path/to/new/virtualenv/>
Posted by: Guest on November-23-2020

Code answers related to "how to create virtual environment with specific python version with venv version"

Python Answers by Framework

Browse Popular Code Answers by Language