Installation
Create a new environment:
conda create --name nsrdb python=3.9Activate environment:
conda activate nsrdbInstall nsrdb:
pip install NREL-nsrdb
Option 2: Clone repo (recommended for developers)
from home dir,
git clone git@github.com:NREL/nsrdb.git- Create
nsrdbenvironment and install package Create a conda env:
conda create -n nsrdbRun the command:
conda activate nsrdbcdinto the repo cloned in 1.Prior to running
pipbelow, make sure the branch is correct (install from main!)Install
nsrdband its dependencies by running:pip install .(orpip install -e .if running a dev branch or working on the source code)Optional: Set up the pre-commit hooks with
pip install pre-commitandpre-commit install
- Create