virtualenv

virtualenv is advertised as another type of cordoned off environment for python. Similar to anaconda environments.

commands:

  1. virtualenv
    1. Creates dir
  2. virtualenv –clear
  3. virtualenv -p python3
  4. virtualenv testvirtualenv
  5. virtualenv –system-site-packages r-tensorflow
    1. creates directory r-tensorflow with virtualenv. The python in this environment will have access to the system python packages.
  6. virtualenv –system-site-packages mytensorflow
  7. virtualenv –no-pip
  8. virtualenv –extra-search-dir=SEARCH_DIRS
    1. directory to use to look for pip/setuptools/distribute
  9. activate
  10. source testvirtualenv/bin/activate

Leave a comment