- Git: Download and install Git from Git Downloads.
- Miniconda:
- Download Miniconda from the official page.
- Note: There's no need to install Python separately.
- Important: During Miniconda installation, ensure you check the option to "register as default python."
- Close your current terminal.
- Open the Anaconda Powershell Prompt.
- Type and run:
conda init bash
- Next, open Git Bash and navigate to your repository.
Run the following commands in Git Bash:
# Create the conda environment (HSP) from environment.yml
conda env create -n HSP -f environment.yml
# Activate the environment
conda activate HSP
# Install pip requirements
python -m pip install -r requirements.txt
Install the LJM Software by downloading the installer from: LabJack Minimal LJM Installers
If you encounter errors with the simple GUI, try installing the following packages:
pip install --upgrade rsa
pip install PySimpleGUI -i https://pysimplegui.net/install
You may use the free trial if applicable.
To verify that everything is working correctly, run:
# Test dearpy
python test_dearpy.py
# Show full DAQ UI
python daq_ui.py
After installing any new packages, update your environment files:
# Update the conda environment file (environment.yml)
conda env export --from-history > environment.yml
# Update the pip requirements file (requirements.txt)
python -m pip freeze > requirements.txt
- Ensure you activate the correct environment:
conda activate HSP
- Check your environments:
If you see different environments, sync the correct environment files and then re-download.
conda env list
- Tip: Always use
python -m pip ...
to ensure you are using the pip version tied to your active environment, not the system pip.