Skip to content

Instantly share code, notes, and snippets.

@kengz
Last active December 11, 2020 02:56
Show Gist options
  • Save kengz/eb48d8b3b017c3f291158de7dedbcd3d to your computer and use it in GitHub Desktop.
Save kengz/eb48d8b3b017c3f291158de7dedbcd3d to your computer and use it in GitHub Desktop.
SLM Lab quick installation

See https://kengz.gitbooks.io/slm-lab/content/installation/installation.html for full instruction.

  1. Clone SLM-Lab
git clone https://github.com/kengz/SLM-Lab.git
cd SLM-Lab
  1. Install node, yarn, electron and orca for the environment and analysis module
brew install node yarn
yarn install

And if you don't already have it, install Conda for clean dependency management

curl -O https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
bash Miniconda3-latest-MacOSX-x86_64.sh -b
rm Miniconda3-latest-MacOSX-x86_64.sh
echo '. ~/miniconda3/etc/profile.d/conda.sh' >> ~/.bash_profile
source ~/.bash_profile
  1. Install SLM Lab as pip module
conda create -n lab python=3.6 ipykernel -y
conda activate lab
conda env update -f environment.yml

Now it is ready for usage.

@gvkcampos
Copy link

Has anyone had any luck installing this on windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment