NSLS-II Control Environments

From GISAXS
Revision as of 15:16, 6 January 2017 by Nsls2user (talk | contribs) (Created page with "==Activate== * To go into the standard collection environment: *: bsui * This is activate a conda environment, and then running ipython therein: <source> #! /bin/bash V=17Q1.0...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Activate

  • To go into the standard collection environment:
    bsui
  • This is activate a conda environment, and then running ipython therein:
#! /bin/bash
V=17Q1.0
source /opt/conda/bin/activate collection-$V && ipython --profile=collection

Install package

source activate collection # Or bsui
conda search lxml
conda search lxml -c conda-forge # Search within a specific repo
conda install lxml -c conda-forge
conda list >> ~conda_list_collection.txt # Save the package list, for future reference
source deactivate