Answers for "how to install a separate version of python in my virtual environment"

1

how to make a virtual environment python 3

#create the venv
python -m venv name_virtual_env
    #or
python3 -m venv name_virtual_env

#activate venv
    #linux:
source name_virtual_env/bin/activate

    #windows
name_virtual_envScriptsactivate
Posted by: Guest on January-20-2021
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 install a separate version of python in my virtual environment"

Python Answers by Framework

Browse Popular Code Answers by Language