Installation
System Requirements
Python (version >= 3.11).
Install lys_instr from Source
Create a Python virtual environment for lys_instr (e.g.,
lys_venv).If you use conda:
conda create -n lys_venv python=3.11 pip -y
If you use venv:
python -m venv lys_venv
Activate the created environment:
Using conda:
conda activate lys_venv
Using Windows (cmd.exe):
lys_venv\Scripts\activate.bat
Using Linux:
source lys_venv/bin/activate
Update pip:
python -m pip install --upgrade pip
Go to the directory where you want to place the source code, then clone the repository:
git clone https://github.com/zwang154/lys_instr.git
Install lys_instr:
cd lys_instr pip install .
Or, for editable mode, use:
pip install -e .
Go to the directory you want to use as your workspace, then launch lys:
python -m lys
lys_instr is now ready to use within the lys platform.