| ... | ... | @@ -29,4 +29,27 @@ jupyter-lab --profile=<profile_name> |
|
|
|
ipython profiles:
|
|
|
|
```
|
|
|
|
/home/beams22/29IDUSER/.ipython
|
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
|
```
|
|
|
|
|
|
|
|
## Creating a conda environment
|
|
|
|
conda create --name iex_env python=3.8 ipykernel jupyterlab
|
|
|
|
conda activate iex_env
|
|
|
|
ipython kernel install --user --name=iex_env
|
|
|
|
|
|
|
|
## Other conda commands
|
|
|
|
conda env list
|
|
|
|
conda env remove --name iex_env
|
|
|
|
conda deactivate
|
|
|
|
|
|
|
|
## Packages typically for the IEX beamline enviroment which are not auto installed
|
|
|
|
iexcode #beamline python commands
|
|
|
|
iexplot #plotting python commands
|
|
|
|
orange_book
|
|
|
|
launch macros # live in 29ID
|
|
|
|
|
|
|
|
|
|
|
|
## Installing a package from a git repo
|
|
|
|
cd to/where/you/want/to/install/the/code
|
|
|
|
git clone <url://for/your/git/package>
|
|
|
|
cd package_name
|
|
|
|
pip install . |