Closed prjemian closed 3 years ago
Follow steps described in https://github.com/APS-USAXS/ipython-usaxs/issues/469#issuecomment-749117483
Here's how to install the new environment (environment name is provided in the yml file):
source /APSshare/miniconda/x86_64/bin/activate base
cd /tmp
wget https://raw.githubusercontent.com/BCDA-APS/use_bluesky/main/python_installation/environment_2021_1.yml
conda env create -f environment_2021_1.yml
~/.bashrc
and change BLUESKY_CONDA_ENV
~/.bin/bluesky8IDI
In ~/.bashrc
(or ~/.bash_aliases
), define this environment variable and use it:
export BLUESKY_CONDA_ENV=bluesky_2021_1
alias become_bluesky='source /APSshare/miniconda/x86_64/bin/activate ${BLUESKY_CONDA_ENV}'
In ~/.bin/bluesky8IDI
, use the alias or the environment variable:
export CONDA_ACTIVATE=/APSshare/miniconda/x86_64/bin/activate
source ${CONDA_ACTIVATE} ${BLUESKY_CONDA_ENV}
ALSO, need to define env var in ~/.cshrc
since the instrument account uses tcsh by default.
setenv BLUESKY_CONDA_ENV bluesky_2021_1
In preparation for operations in APS run cycle 2021-1, a new conda environment will be installed, providing updated support code affecting critical problems at this beam line (#233, #243, #244, #245). The instrument package will be updated to match the new support and then pushed back to github. We'll need to verify that the changes resolve each of those issues, as expected.
The existing conda environment (
2020_9
) will be left as a fall-back.