NSLS-II Control Environments

Revision as of 16:17, 6 January 2017 by Nsls2user (talk | contribs) (Install package)
Jump to: navigation, search


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

Install package

Using conda (preferred)

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

From source

source activate collection
python setup install

If you are developing code, and want to be continuously using the most up-to-date version of the code, you can use:

python setup develop