O'Reilly logo
  • Antonio Cruz thinks this is interesting:

$ pip3 install --user --upgrade virtualenv

From

Cover of Hands-On Machine Learning with Scikit-Learn and TensorFlow

Note

virtualenv {env_name} -ppython{python_version} for setting it to python 3 or freezing the environment's python version